DEV Community

Discussion on: What would the ideal web framework look like?

Collapse
 
ivan_jrmc profile image
Ivan Jeremic • Edited

I disagree I even think the web should be just a wasm runtime and it should not even support html/css/js they should be just a stack people can choose if they want and compile them down. Imagine a world where one website UI is powered by HTML the other by SwiftUI and the next by Qt I think the we should have this kind of openess, of course for all this to work the WebAssembly spec needs to have some system level and graphics stuff added and all need to agree on this but in the end the web should just be a wasm runtime/os of the world.

Collapse
 
nombrekeff profile image
Keff

Hey there Ivan!

I don't think I know what you disagree on, you disagree on what my framework would be? or that it will never get to that point?

I think the we should have this kind of openess

I have to disagree here, that's what I was going to. There are way to many options to build a website, making it harder to learn and making it quite dificult to beginers to start. As the first challengue is to decide which of the 1000 frameworks to start learning. It also makes it more dificult to introduce standards (just look at javascript, and how it changes from engine to engine), imagine what would happen if you could code them in 10 diferent languages like (Swift, Qt, etc...) what a nightmare.

For me ideally there would be one and only one way of doing it, can seem quite extreme though :D

Thread Thread
 
ivan_jrmc profile image
Ivan Jeremic • Edited

You think to complicated, you need to think of my concept as an OS for the world, and running wasm is exactly what you want it runs everywhere the same, you said only one way and this is ONE way there is a compile step which makes this possible, and you don't need to learn every language you simply learn the stack you like, the browsers being able only to do what they do now is what makes the ecosystem complicated.

Thread Thread
 
nombrekeff profile image
Keff

Ohh I see, you mean the web being some kind of OS? that can run any code compiled for it?

Then yeah, I agree with that. That could be one solution, though quite a huge one!

Thread Thread
 
ivan_jrmc profile image
Ivan Jeremic

Exactly 😀