Twitter | Pretraživanje | |
Rik Arends
The most important reason to make the move from a dynamic (JS) to a static compiled language (Rust) is simply because moores law is plateauing. The only path to faster is either be less wasteful, or go parallel. With parallel being MUCH harder to do. Lots to do in less wasteful
Reply Retweet Označi sa "sviđa mi se" More
Bat Bat  🦇🦇 31. pro
Odgovor korisniku/ci @rikarends
...and hardware acceleration/specialized instruction set! :) I know you moved a lot to the GPU with Makepad as well!
Reply Retweet Označi sa "sviđa mi se"
Rik Arends 31. pro
Odgovor korisniku/ci @batmansmk
Yeah, 'right now' makepad is fairly optimal as to its cpu/gpu balance. But SO much was won by simply decomplecting / writing code so the compiler can actually do things with it (no virtual dispatches anywhere).
Reply Retweet Označi sa "sviđa mi se"
Kamil Tomšík 31. pro
Odgovor korisniku/ci @rikarends
Maybe but certainly not for UI, web was once (DHTML, now called SPA) fast enough on single-core celeron 333mhz with 32, so javascript is totally fast enough it's just that today everybody does js and so the quality is very low.
Reply Retweet Označi sa "sviđa mi se"
Kamil Tomšík 31. pro
Odgovor korisniku/ci @rikarends
sorry, 32 MB RAM... And part of the problem is total number of pixels, and so the memory bandwidth. BTW: this is also interesting
Reply Retweet Označi sa "sviđa mi se"
rektide de la fay 31. pro
Odgovor korisniku/ci @rikarends
It still makes me so sad when languages like TypeScript come along & turn a multi-phase programming environment, where folks can be generating new code at runtime, into a single phase pipeline. And they throw away all the type information at compile time. Sad.
Reply Retweet Označi sa "sviđa mi se"
rektide de la fay 31. pro
Odgovor korisniku/ci @rikarends
There is decorator metadata to attach type information, but I believe it's been more or less unmaintained & un-upgraded since mid 2017.
Reply Retweet Označi sa "sviđa mi se"