6
jestdotty
18d

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
    @lorentz ye I disliked all the syntactical sugar. it's like an unnecessary straitjacket
  • 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?
  • 1
    @retoor raaagghh!

    well I did actually touch c++ as a first language and quite frankly it was too confusing. it was used in reverse engineered MMO servers I'd play as a kid and they had so many bugs I eventually... with no programming background found the source code and kept fixing bugs. but I didn't understand the whole codebase in the least

    the whole here's 200+ compilers for you to choose from just to run something experience or the 3 different fucking equally broken IDEs turned me off c++. I do want a low level language for optimizations though (specifically AI ideas but anyway) and rust would fit it, and my hope was it wouldn't be too overwhelming like c++ was. in reality rust has a similar lack of organization that pervades the thoughts of its developers. my memories of c++ might be very old but I do think rust is overall less of a mess than c++

    and I mean my degree focused on java. I can handle some level of self-torture and retardation
  • 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