Re:ARM chips have an instruction with JavaScript in the name
by 6510 on Saturday October 17, 2020 @11:50PM
(#24815405)
I don't have words to describe how exciting that would be. The only way I could see it happen is if the existing legacy architecture would be one (or many) of the parallel processes so that efforts to make it run legacy software don't consume the entire project. I really do think it possible to make a "sane" machine language that doesn't need layers of abstraction or compilers and is easy to learn.
Re:ARM chips have an instruction with JavaScript in the name
by uticus on Tuesday October 20, 2020 @07:06AM
(#24836008)
My favorite article on this: "C Is Not a Low-level Language: Your computer is not a fast PDP-11"
Hacker news post: https://news.ycombinator.com/item?id=16967675
Re:ARM chips have an instruction with JavaScript in the name
by failuser on Sunday October 18, 2020 @03:55AM
(#24816223)
GPUs are pretty different, despite exposed interface being about the same C
Re:ARM chips have an instruction with JavaScript in the name
by pjmlp on Sunday October 18, 2020 @04:10AM
(#24816270)
It is not the same C, it is a dialect full of extensions, and it only applies to OpenCL, which it was one of the reasons why it failed and forced Khronos to come up with SPIR, playing catch up the polyglot PTX environmnent of CUDA.
OpenCL 3.0 is basically OpenCL 1.2, which is OpenCL before SPIR was introduced.
Re:ARM chips have an instruction with JavaScript in the name
by phkahler on Saturday October 17, 2020 @08:35PM
(#24814703)
>> Especially given that improvements in sequential computing speed are already difficult to achieve and it's known that this will become even more and more difficult in the future...
That's perfect. As performance stop increasing just by shrinking transistors, other options will have a chance to prove themselves.
>> but the computing model of C is inherently sequential and it's quite problematic to make proper use of increasingly more parallel machines.
IMHO Rust will help with that. The code analysis and ownership guarantees should allow the compiler to to decide when things can be run in parallel. Rust also forces you to write code that will be easier to do that. It's not a magic bullet but I think it will raise the bar on what we can expect.
Exactly this hinders any substantial progress in computer architecture for at least 40 years now.
Any hardware today needs to simulate a PDP-7 more or less… As otherwise the hardware is doomed to be considered "slow" should it not match the C abstract machine (which is mostly a PDP-7) close enough. As there is no alternative hardware available nobody invests in alternative software runtime models. Which makes investing in alternative hardware models again unattractive as no current software could profit from it. Here we're gone full circle.
It's a trap. Especially given that improvements in sequential computing speed are already difficult to achieve and it's known that this will become even more and more difficult in the future, but the computing model of C is inherently sequential and it's quite problematic to make proper use of increasingly more parallel machines.
What we would need to overcome this would be a computer that is build again like the last time many years ago, as a unit of hard and software which is developed hand in hand with each other form the ground up. Maybe this way we could finally overcome the "eternal PDP-7" and move on to some more modern computer architectures (embracing parallelisms in the model from the ground up, for example).