6
jestdotty
27d

think JavaScript might actually be genius...

cuz it's like you build all code with a quanta: https://en.wikipedia.org/wiki/...

and you just have to know how a quanta works

and you can build the whole universe from that

there's so much brilliance in simplicity

kind of feeling like rust is like java where there's too many abstractions you have to memorize and they could've been better represented with just one type that you could do everything with. like I can't see rust ever being as flexible as JavaScript. JavaScript feels like you're totally free to be as creative as you want and you don't even have to think about the layer you're skating on. the layer is always made up of one piece, and this one piece always follows the same physics, and you just chain it together to make everything you could ever imagine. so fast. so easy

Comments
  • 1
    JaseScript?
  • 2
    @ggrewgweg you can keep up being angry longer than I can keep up existing? IMMORTALITY DISCOVERED
  • 1
    Having few concepts makes theory and reasoning easier, but computers really aren't like that. Systems languages have to represent the underlying abstraction (mostly Assembly) as closely as possible, and somehow reify that with a powerful theoretical framework that enables you to know things for certain without knowing every line in the entire program.
  • 1
    By the way, why do you think that Java's model is complex? I'd put it squarely in the JS category; the overarching model fits on a two sided A4 paper, everything else is just syntax sugar.
  • 1
    @jestdotty not liking syntax sugar but you do Rust? Isn't that the definition of sugar?
  • 1
    Agree that javascript is genius. Programming languages are made for people to understand, not the computer. Considering that, it's almost a perfect language. Especially with Deno everything build in now. Attached a c module to javascript using it iin no way while i didn't get the NPM ffi module to work.

    Also, Javascript is just much fun. Typescript was not needed for me, there are other languages for that (not in browser, but still)
  • 2
    So what if in the future each tab on a browser not only runs its own thread, but its own vm? If protected enough you could run an actual executable? Is that the next step for web?
  • 0
    @jestdotty what about plain old c? Less complex than c++. A lot of work but you can do everything with it. I have hashtable, http server, json parser everything in my stdlib. Just make the modules you like from rust yourself but maybe even better
Add Comment