JavaScript新发展 CoffeeScript Dart Rust Node.js
CoffeeScript
CoffeeScript (GitHub repo) 是一个使用纯Ruby编写的新编程语言,创建者 Jeremy Ashkenas戏称它是- JavaScript的不那么铺张(买弄)的小兄弟。因为CoffeeScript会将Ruby编译成JavaScript,而且大部分结构都相似,但不同的是,CoffeeScript拥有更严格的语法。
类似的http://www.infoq.com/cn/news/2010/12/languages-on-javascript-vms/
引入JavaScript虚拟机的语言:CoffeeScript 1.0、StratifiedJS、利用C/C++的Emscripten和Python
Dart
Dart是Google推出的新的结构化Web编程语言。
Dart is a class-based, object-oriented language with lexical scoping, closures, and optional static typing. Dart addresses issues with current web programming languages and is easy to learn for a wide range of developers.
JavaScript has been around for seventeen years. When it was first introduced, there was no Web 2.0, no Ajax, no CSS, and very little client-side interactivity at all. When JavaScript first came out, the primary use case was validating client-side forms with alert boxes!
Over the next seventeen years, JavaScript the language has evolved from a proprietary language owned and slowly developed by Netscape Communications to a web standard that regularly adds new features. But as fast as a committee can add new features to the standard, the Web evolves infinitely faster.
And then along came Dart. Dart asks, given what we know about the Web today, how might we build JavaScript from scratch? How can it load and run as fast as possible? How can we write it so that we can easily define and load external libraries?
How can we make it easy for developers to write beautiful code?
If Dart is the answer to those many questions (and I will try to make the case that it is), then Dart is quite possibly the most exciting technology to come our way in a very long time.
Rust
Rust是针对多核体系提出的语言,并且吸收一些其他动态语言的重要特性,比如不需要管理内存,比如不会出现Null指针等等。
Node.JS
Node.js是一套用来编写高性能网络服务器的JavaScript工具包,一系列的变化由此开始。比较独特的是,Node.js会假设你是在POSIX环境下运行它Linux 或 Mac OS X。如果你是在Windows下,那就需要安装MinGW以获得一个仿POSIX的环境。在Node中,Http是首要的。Node为创建http服务器作了优化,所以你在网上看到的大部分示例和库都是集中在web上(http框架、模板库等)。
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· 单线程的Redis速度为什么快?
· 展开说说关于C#中ORM框架的用法!
· Pantheons:用 TypeScript 打造主流大模型对话的一站式集成库