@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)

all 13 comments

sorted by: hot top controversial new old
[–] 6 points 1 year ago (3 children)

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?

  • source
  • hideshow 3 child comments
  • [+] 1 point 1 year ago (1 child)
  • [–] 0 points 1 year ago*

    Yeah, if you have the luxury of long enough coding time and infinite working memory set ^[i.e. in your brain, so that you can keep all considerations of your whole project in your mind at a time], 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

  • source
  • parent
  • Just because we can do everything in C and Assembly doesn't mean it is a good idea or that we should.

  • source
  • [–] 5 points 1 year ago

    I find the unnecessarily complex argument a little odd. Third party ecosystems and individual libraries can be unnecessarily complex, especially when they're heavily opinionated. But I've performance never encountered a language I found "unnecessarily" complex. Do you have a few examples and what in particular you consider unnecessarily complex?

  • source
  • [–] 3 points 1 year ago (1 child)

    Your opinion is unpopular, because it is wrong.

    No normal person would think of C when told to imagine a language that is not bloated and not unnecessarily complex.

  • source
  • hideshow 1 child comment
  • [–] -1 points 1 year ago

    I'd say it's necessarily complex for the things it is used for and neither bloated nor complex when used for purposes it was used for back in the C days.

    But then again, I don't consider myself "normal".

  • source
  • parent
  • [–] 5 points 1 year ago (1 child)

    Fuck assembly! Real programmers etch their programs into the board.

  • source
  • hideshow 1 child comment
  • [–] 2 points 1 year ago*

    Replace C with lisp and you're 100% correct. Even then Rust is better than lisp IMO.

  • source
  • [–] 2 points 1 year ago
    [–] 2 points 1 year ago

    If all you have is a stone, every tool starts to look like a hammer.

  • source