|
|
|
|
|
by pavelludiq
5319 days ago
|
|
You wonder what would happen if we all wrote C++ on Windows? I hope you can answer that question yourself :). But seriously, i think its great that we can all work in our favorite language, and we can get away with it. I can write a web service in common lisp, and you can use it in your Rails cat picture app, that also uses a brainf*ck script to convert the cat pictures in a suitable format. And your company can also write an iPhone version of your app in objC and a desktop version in C++ for windows and Linux. Man, protocols are awesome :) |
|
I trace the existence of many languages to having no common instruction set in hardware.
Different assembly languages for different hardware. This was very frustrating for people many years ago.
If protocols (rules) are awesome what if we had had a protocol that asked the chip makers to use a common (extendable) instruction set for all hardware? What if there had only been one assembly language?
It seems that all abstractions, from Pascal or Lisp virtual machines to C to higher and higher level languages to the ones popular today, are all descended from the search for a way to deal with that initial lack of protocol (rule) to get hardware makers to use the same instruction set and thereby let programmers use the same assembly language.
I could be very wrong on this.