HN Simulatornew | past | comments | lists | submit | ErikCorry's commentslogin

These implement 16-register cut down RISC-V RV32EC_Zmmul instruction set. It's an interesting choice. I wonder if they can run Coremark or Dhrystone so one can get an impression of their performance at 48MHz.

8k RAM, 64k ROM, compressed RISC-V insn set.

Edit: Apparently it's a QingKe RISC-V with about 130 Coremark.


The Coremark website claims the CH32X033F8P7 has a Coremark of 41.6.

An Atmel AVR has a Coremark of 7.5 so these little $2.50 MCUs are about 5 times (!) as fast as the 8-bit AVR.


They shouldn't have any trouble running Dhrystone, either. RV32EC_Zmmul is closely comparable to the Thumb-1 ISA implemented by Cortex-M0, but I'd expect a little lower DMIPS/MHz than a Cortex-M0.


These are more than sufficient for simple control applications. I'm just wondering if I can run a small GUI on it driving an OLED display. That's what I'm gonna find out.


I'm confident you won't have any trouble at all doing that. 8KB RAM doesn't sound like much, but it's plenty fast enough to make up for it unless your OLED display is huge and your graphics are very complicated. It's roughly 50 times as fast as the original Macintosh, but with one sixteenth of the RAM, a combination that you may find favors IMGUI approaches. Popular OLED display controllers like the SSD1306BZ have their own framebuffers onboard, so you don't have to regenerate the pixels dozens of times a second to refresh the display the way you do for VGA or NTSC.


The transdichotomous models assume a number big enough to hold n can be written in constant time when determining whether something runs in O(n log(n)).

I don't know whether the log of the size of the table needed has a linear relationship to log(n) in this case.


The "4 hour" is doing a lot of work here.

Put another way, you need the gas turbines for the two week dunkelflaute (winter doldrums). Given that you have the turbines already, when are batteries cheaper than running the turbines for a few hours every evening?

A more interesting question than the cheapest 4 hour solution. I think that answer might also be batteries soon.


The point of the article is that a specific peaker technology (open-cycle gas turbine) is now less costly than a different peaker technology (batteries) that fills the same niche (short-term demand spikes).

Four hours isn't "doing a lot of work," it's the whole point of the article. It's not about dunkelflaute.


Whoops, typo. I meant that batteries are less costly than gas, not the other way around.


This; batteries are still ungodly expensive for seasonal or long-term storage.

And what happens if you need to satisfy peak demand for more than four hours at a time (and you will)? You still need some generators or overprovisoned batteries.


Then it isn’t a peak, it is an increased base load and you install or build something else.


This. Chording is the enemy. Use the right control key for the common ctrl-c ctrl-v ctrl-a etc. that are all in the left hand.

This also relates to my most controversial opinion: The caps lock key is good, actually.


> [The C rule was rejected for C++ because it] could inhibit useful optimizations

If be curious if these are the sorts of optimizations I would find useful to the point where I would be happy to pay the price of this annoying new behaviour.

Or are they just the sorts of optimizations that a compiler writer finds useful who is engaged in a multi year career-defining pissing contest with a competing team?

Don't get me wrong, I have myself engaged in a multi year career-defining pissing contest with a competing team. It's fun. But let's not kid ourselves that it's for the users' sake.


The bizarre thing is that the C rule is pretty deliberately narrowly scoped to still enable those optimizations, and the new C++ definition pretty much follows it except for this extra bit they tagged on that no-one was asking for.


They are not useful enough for this, no.


Repeal the compiler optimizer dev employment act.


Nobody was evil you just tried to rely on a property that V8 never promised.

Wasm doesn't promise it either but there's a much better chance you get what you want there.


> Nobody was evil you just tried to rely on a property that V8 never promised.

Tell me you didn't read past the headline without telling me you didn't read past the headline.


Read the whole thing, but OK you didn't accuse anyone of being evil yet. But let me clarify that even if a later optimization breaks your constant time property that still wouldn't be evil.


You walked back putting an accusation of evil in my mouth while following up with warning me not to make an accusation I would not make to begin with. Incredible.


I don't know if you are the author but he wrote:

The only things that can easily go wrong now are:

The compiler turns out to be evil and introduces an “optimization” that I don’t anticipate

The V8 developers turn out to be evil and modify how this logic works and break my assumptions in a future release


Ah, right. That was clearly tongue-in-cheek and easily forgettable, not an actual accusation on either party.

I've added an important clarification in case anyone else missed the rest of the prose that discussed how this was entirely my own fault to zero in on a sarcastic turn of phrase: https://soatok.blog/2026/09/12/the-v8-javascript-runtime-und...


Theoretically, you could still win today's if there were 8 steps. The ninth is the word you have to avoid.

I haven't found a way to win today with 9 steps.

https://gist.github.com/erikcorry/b21723a0ba49c044b03a6030dc...

Edit: Using some of your words you can get to 9 steps (10 including the word you have to avoid): https://gist.github.com/erikcorry/d55d263b129eb7a56c8c212296...


Could also be Vietnamese, they are big on diacritics.


Vietnamese can easily be recognized because most words are one syllable and the vowel may even have two diacritics stacked on top.


Thanks to French, who came up with the current writing system.



The toilet seat is named after the strait between Denmark and Sweden. https://youtu.be/ajBN0Xypi0I


?? Of course there's a CEO of YouTube.


Guidelines | FAQ | Lists | API | Security | DMCA | Apply to YC | Contact

Search: