3 ms·
> all popular programming languages can do basically anything That's just very not true...
by nj5rq 2y ago
> all popular programming languages can do basically anything
That's just very not true...
- nerdponx 2y agoGot an example?
- randomdata 2y agoSQL might be the most popular programming language. Perhaps you can think of something it cannot do, practically speaking[1]? [1] Theoretically it might be able to do anything, but the context is clearly talking about what is, not what could be.
- jimbokun 2y agoIt's true in terms of Turing Completeness.
- zarzavat 2y agoTuring complete just means you can simulate a Turing machine. A Turing machine is a mathematical model of a computer, it’s not a real computer. Real computers can do things that Turing machines can’t do, e.g. generating random numbers[0], interfacing with hardware, etc. [0] https://en.wikipedia.org/wiki/RDRAND https://en.wikipedia.org/wiki/RDRAND
- mapcars 2y agoWe need some example here, otherwise any language can generate code in the target language to do anything. And in the end all languages generate machine code one way or another so thats pretty much the same thing.