I built a programming language, inspired by Golang
Hello, I'm the author of the nature programming language, which has reached an early usable version since its first commit in 2021 until today. --- Why implement such a programming language? go is a programming language that I use for my daily work, and the first time I used golang, I was amazed by its simple syntax, freedom of programming ideas, ease of cross-compilation and deployment, excellent and high-performance runtime implementations, and advanced concurrency style design based on goroutine, etc. But, golang also has some inconveniences - The syntax is too concise, resulting in a…
What it does
In the maker’s words, at launch
Hello, I'm the author of the nature programming language, which has reached an early usable version since its first commit in 2021 until today. --- Why implement such a programming language? go is a programming language that I use for my daily work, and the first time I used golang, I was amazed by its simple syntax, freedom of programming ideas, ease of cross-compilation and deployment, excellent and high-performance runtime implementations, and advanced concurrency style design based on goroutine, etc. But, golang also has some inconveniences - The syntax is too concise, resulting in a lack of expressive power. - The type system is not perfect - Cumbersome error handling - The automatic GC and preemptive scheduling design is excellent, but it also limits the scope of go. - Package management - interface{} - ... nature is designed to be a continuation and improvement of the go programming language, and to pursue certain differences. While improving the above problems, nature has a runtime, a GMP model, an allocator, a collector, a coroutine, a channel, a std, and so on, which are similar to those of go, but more concise. And nature also does not rely on llvm, with efficient compilation speed, easy cross-compilation and deployment. Based on the features already implemented in the nature programming language, it is suitable for game engines and game development, scientific computing and AI, operating systems and the Internet of Things, the command line, and web development. When nature is fully featured and optimized, it is expected that nature will be able to replace golang in any scenario (converting to readable golang code, using nature with minimal trial-and-error costs, and switching back to golang at any time). And as a general-purpose programming language, nature can compete with any other programming language of its type. [Note that this is not yet complete.] --- I know, it's a little late, I spent too much time, just to bring another programming language, after all, the world is not short of programming languages. But when I really think about questions like "Should I continue? Can I do it well?", I realized I had already come a very, very long way. --- Feel free to give me feedback, I'll answer any questions you may have. Website: https://nature-lang.org The home page contains some examples of syntax features that you can try out in the playground. Get started: https://nature-lang.org/docs/get-started contains a tutorial on how to install the program and advice on how to use it. Syntax documentation: https://nature-lang.org/docs/syntax Playground: https://nature-lang.org/playground Try it online --- Contribution Guide https://nature-lang.org/docs/contribute I have documented how the nature programming language is implemented. nature has a proprietary compiler backend like golang, but the structure and implementation of the nature source code is very simple. This makes it easy and fun to contribute to the nature programming language. Instead of just a compiler frontend + llvm, you can participate in SSA, SIMD, register allocation, assembler, linker, and other fun tasks to validate your learning and ideas. You can express your ideas through github issues and I'll guide you through the contribution process. --- These are some of the smaller projects I've implemented with nature, and I really like the feel of writing code with nature. https://github.com/weiwenhao/parker Lightweight packaging tool https://github.com/weiwenhao/llama.n Llama2 nature language implementation https://github.com/weiwenhao/tetris Tetris implementation based on raylib, macos only https://github.com/weiwenhao/playground playground server api implementation --- Lastly, I'm looking for a job, so if you think this project is okay, I hope you'll give me a star, it would help me a lot
Does the same job
all alternatives →- ASA sample project for Golang2018 · ▲57
I have been using golang at work and personally for more than 2 years now. A problem i faced when I started and the problem new gophers even today is how to structure the project. Most (if not all) golang tutorials seem to be very simple and do not describe how to structure a large application. Following project is an attempt to Showcase a manageable project layout for services in golang. https://github.com/spy16/droplets This project is far from complete. Would like to hear some feedback from the community before continuing on this.
- MBMy Book, Hands-On Software Engineering with Golang2020 · packtpub.com · ▲176


- IWI wrote a book about using Lambda with Go2021 · ▲103
Hi HN! During the last few years, I worked on a few applications built with Go, running on AWS Lambda. As I got to know the platform better, I started to find Go & Lambda to be a really productive combination. The applications were fast, and they ended up being much cheaper to run than what my team & I had built before. It’s probably not the best platform for _every_ application, but I was surprised at how much of our workload worked well on it. As we brought new engineers on to our team and helped them get up to speed with the stack, I found that we were covering a lot of the same topics…
- GTGolangbot – Tutorials for beginners to get started with Go programming2017 · golangbot.com · ▲17
More life & fun this month
the category →- TL
Life & fun · 10d ago · louisabraham.github.io

Photosynthesis fires two of your iPhone
Life & fun · 28d ago · photosynthesis.camera
SoloUno▲310Take control of hair pulling, nail biting & skin picking
Life & fun · 28d ago · solouno.io

Scroll through all 43,252,003,274,489,856,000 reachable Rubik's Cube permutations.
Life & fun · 26d ago · everycube.alen.is


Hi HN, I built Eigendrum, a web tool that solves the 2D wave equation for arbitrary shapes so you can hear what they sound like as drums. How it works: * Solves -∇²u = λu using finite element analysis (Kφ = λMφ) on a triangle mesh. * Validated to <0.1% error against closed-form solutions for circles (Bessel zeros) and rectangles. * Sound model factors in strike location, Rayleigh damping, and mallet width. * Includes Kac drums I & II to demonstrate identical sound spectra from different geometries. * No frameworks, build steps, or dependencies. Repo and tests:…
Life & fun · 26d ago · baselashraf81.github.io
Launched alongside, May 2025
the whole month →
- C9
Life & fun · 2025 · felixrieseberg.github.io



