DEV Community

Discussion on: Change your perspective

Collapse
 
togakangaroo profile image
George Mauer • Edited

I'll point out that swapping out the runtime is not that crazy an idea and is something we do every day when we load the same JavaScript application in different browsers or when you run the same idempotent code with node or a browser. Or when you move your .net framework application to .net core or pcl. Or when you move between Java implementations.

Granted, none of these make it easy to rewrite the runtime, but it's not like we are entirely without a model for how that might work and what it might enable.

Another place to look for inspiration would be the glorious world of lisp macros (Wich are coming to js via Babel macros are they not? And then there is sweetjs as well... Sigh). Swapping out macros is probably a lot closer to what you are visualizing than constantly rewriting the same hardware calls. Here you could do some interesting stuff.

As for writing crud applications over and over, isn't that a solved problem? For a crud application use a cms or a site generator like rails... Something that does all that for you. The issue is that many applications aren't just crud...