可以编译为本机代码并附带电池的编程语言 [英] Programming languages that compile to native code and have the batteries included
本文介绍了可以编译为本机代码并附带电池的编程语言的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
可以编译为本机代码的编程语言是什么?它们提供了一个完善的库?
What are the programming languages that compile to native code and which have provided a comprehensive library with them?
包含网络,文件IO,RegEx,数据库,图形,多媒体,Win32 API绑定,文件压缩等功能的库.
Libraries that includes functionality such as Networking, File IO, RegEx, Database, Graphics, Multimedia, Win32 API bindings, File compression, etc.
推荐答案
- 我假设每个人都想到过C和C ++.
- Haskell 很明显.特别是,如果要包括电池,则需要 Haskell平台.
- OCaml 也适用于此类别.
- 开始是一种具有(大部分)您要求的功能的新播放器.
- D编程语言及其标准库 Lisp 方言包括本机编译器,例如通用Lisp 及其SBCL,CCL或ECL(针对C)编译器.
- Rust 是一种系统编程语言,但不包括电池,但具有
- I'll assume everyone has thought of C and C++.
- Haskell is the obvious one here. In particular, if you want batteries included, you want the Haskell Platform.
- OCaml fits this category, as well.
- Go is a new player that has (most of) the feature you asked.
- The D programming language with it's standard library Phobos.
- Some Lisp dialects include a native compiler, like Common Lisp with its SBCL, CCL or ECL (to C) compilers.
- Rust is a system programming language but doesn't include batteries but has crates ― to avoid stale standard library modules
这篇关于可以编译为本机代码并附带电池的编程语言的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文