News for hackers. Stuff that matters.
Re:Htmx by mirekrusin on Wednesday December 14, 2022 @02:49PM (#33989170)
Kernel is done with C. Everything is basically done with C. Even JavaScript.
Re:Htmx by hirvi74 on Wednesday December 14, 2022 @02:56PM (#33989320)
It's all binary at the end of the day.
Re:Htmx by nudpiedo on Wednesday December 14, 2022 @03:15PM (#33989707)
It’s all just energy moving around
Re:Htmx by dunno7456 on Wednesday December 14, 2022 @03:22PM (#33989872)
On sand.
Re:Htmx by I_complete_me on Wednesday December 14, 2022 @04:13PM (#33990667)
And those turtles that go all the way down lay their eggs in that sand.
Re:Htmx by zelphirkalt on Wednesday December 14, 2022 @02:51PM (#33989205)
That doesn't address the implications of something only working with JS at all.
Re:Htmx by TechBro8615 on Wednesday December 14, 2022 @05:10PM (#33991343)
The most popular JavaScript engine (V8) is written mostly in C++. Same with WebKit. Other JS engines are written in Rust, like Deno or Servo (used in parts of Firefox).

I'm not aware of a major Javascript engine which is written in C, except for QuickJS, which is not "major" in any sense of popularity but is an efficient engine for embedded use cases (and anything from Fabrice Bellard is always work a look).

Re:Htmx by aabbcc1241 on Saturday December 17, 2022 @03:59AM (#34026109)
I suppose C++ is written in C. In similar relationships like Typescript and Javascript.
Re:Htmx by detaro on Saturday December 17, 2022 @04:02AM (#34026122)
Not really, no.