Show HN: A new programming language inspired by Go, no LLVM
a year ago
- #programming
- #cross-platform
- #compiler
- Nature is a general-purpose open-source programming language and compiler designed for secure, reliable, and cross-platform software development.
- Features include simple syntax, no dependency on LLVM or VM, static linking, comprehensive type system, high-performance GC, and memory allocator.
- Supports high-performance coroutines, built-in libuv for IO event loops, modularity, package management, and common data structures.
- Error handling uses try+catch, match for pattern matching, channels for concurrency, and select for concurrent processing.
- Follows system ABI, includes libc, and supports direct calls to C standard library functions.
- Current version supports compilation on linux/amd64, linux/arm64, darwin/amd64, and darwin/arm64.
- Future work includes improving usability, refining standard libraries, collecting user feedback, and fixing bugs.
- Nature is designed as an improvement over Go, addressing its limitations while maintaining similar runtime features.
- Suitable for game development, scientific computing, AI, IoT, command-line tools, and web development.
- Installation involves downloading the nature installer, setting environment variables, and verifying with nature -v.
- Quick start, syntax, and standard library documentation available on the official website.
- Project source code is under Apache License 2.0, while standard libraries use MIT license.