📜 ⬆️ ⬇️

Script engine .NET / Mono. The Manifesto of the Multilingual Web

Time for a new web. A web in which you can write in many programming languages.


We have .NET.
We have a mono.
Browser developers do not cost anything to use them as a scripting engine.
Then developers will be able to focus on fast rendering without bugs and if they want they can develop .NET / Mono.

Why it will be better than the current situation in the web in detail.

  1. We are tired of the fact that JS is the only language on the client side. We want the freedom to choose a language. And we do not need crutches translators% language% -> js. Each language is designed for specific tasks. It is foolish to write a math program on js when there is a family of ML languages. Or 3d rendering on untyped js without the convenience of overloading operators with the garbage collector when it can be done in C ++.
  2. We need comfortable modern development environments with high-quality debagging and refactoring. Debug by the console or in a small window of the built-in debugger in the browser should go into the past as a bad dream. Naturally this does not apply to css.
  3. Pretty poor minification js and code compression hacks. The browser must download and use the binary CIL code. CIL is an absolutely safe byte code that compiles into the native code of the client’s host machine.
  4. There is nothing difficult to embed CIL into a browser render. CIL is designed with integrated OOP support. It’s enough for the browser to provide the standard DOM classes to the secure CRL executable environment.
  5. No more painful language switching. Remember how often you wrote $ i in js and var i in php. A single language on the server and on the client will allow not to rewrite many classes from one language to another.
  6. .NET / Mono works on all popular platforms. x86, arm, windows, linux, BSD, iOS, android (in the process of porting), webos ( http://code.google.com/p/webosdotnet/ )
  7. Of course, we understand that browsers are fighting for the market. JS speed, render, simplicity and accessibility, unique features, ... all for advertising your own browser. Browser developers, you just need to remove the js speed from this long list.
I agree? Vote on browser bug trackers.

Links to bug trackers where you can support the initiative:


Links to additional materials


')

Source: https://habr.com/ru/post/108753/


All Articles