@programming Unpopular opinion: 95% percent of all modern programming langueges are either bloated/proprietary/unneccesarily complex. pretty sure C & assembly can do it all (even for web development, just compile c to WebAssembly)

  • shadow53@programming.dev
    link
    fedilink
    arrow-up
    5
    ·
    5 days ago

    Pretty sure C and assembly can do it all

    Just compile C to (a third language)

    Also, yes, you could accomplish everything with those two languages. Hell, you don’t even need C. But for things where the relatively low level control of C isn’t necessary, why shouldn’t we use something that let’s us focus on domain logic instead of preventing buffer overruns every few lines?

    • gtrcoi@programming.dev
      link
      fedilink
      arrow-up
      1
      ·
      5 days ago

      I think Casey Muratori argues it’s because even the things where it isn’t necessary may be built upon by another project, whether it’s a library or service, and the loses compound.

      • ulterno@programming.dev
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        5 days ago

        Yeah, if you have the luxury of long enough coding time and infinite working memory set [1], then it would be a objectively superior practice to make your project without including other libraries.

        If on top of that, you also have inculcated all cumulative knowledge and mathematical insights that go into the design of an optimising compiler, then you want to be writing in Assembly, separately for each processor family.

        Also, you can arguable do better with FPGAs and even better with ASICs (which will end up having a lower marginal cost than an FPGA based solution). And I might be getting ahead of myself here, but you can also draw all the layer masks yourself to get maximum control over the relative capabilities of each transistor printed on the silicon.

        Sadly you can’t go further than that without either requiring superpowers that would let you precisely generate UV laser beams from your fingernails/eyes/hair/whatever or going backwards in the technology progression to make transistors by hand, which would just end up with lower performing, high energy products.


        P.S. Just realised that this was not in memes/humour community but keeping this nonetheless because it is fun


        1. i.e. in your brain, so that you can keep all considerations of your whole project in your mind at a time ↩︎