Reddit Programming
211 subscribers
1.22K photos
124K links
I will send you newest post from subreddit /r/programming
Download Telegram
I built a programming language, inspired by Golang
https://www.reddit.com/r/programming/comments/1kr4z94/i_built_a_programming_language_inspired_by_golang/

<!-- SC_OFF -->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? golang 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 goroutines, 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. Github: https://github.com/nature-lang/nature Official website: https://nature-lang.org (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 (https://github.com/weiwenhao/parker%C2%A0Lightweight) packaging tool https://github.com/weiwenhao/llama.n Llama2 (https://github.com/weiwenhao/llama.n%C2%A0Llama2) nature language implementation https://github.com/weiwenhao/tetris Tetris (https://github.com/weiwenhao/tetris%C2%A0Tetris) implementation based
on raylib, macos only https://github.com/weiwenhao/playground playground (https://github.com/weiwenhao/playground%C2%A0playground) 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 🙏 <!-- SC_ON --> submitted by /u/hualaka (https://www.reddit.com/user/hualaka)
[link] (https://github.com/nature-lang/nature) [comments] (https://www.reddit.com/r/programming/comments/1kr4z94/i_built_a_programming_language_inspired_by_golang/)
Supercharge Your DevOps Workflow with MCP
https://www.reddit.com/r/programming/comments/1krb4di/supercharge_your_devops_workflow_with_mcp/

<!-- SC_OFF -->With MCP, AI can fetch real-time data, trigger actions, and act like a real teammate. In this blog, I’ve listed powerful MCP servers for tools like GitHub, GitLab, Kubernetes, Docker, Terraform, AWS, Azure & more. Explore how DevOps teams can use MCP for CI/CD, GitOps, security, monitoring, release management & beyond. <!-- SC_ON --> submitted by /u/prateekjaindev (https://www.reddit.com/user/prateekjaindev)
[link] (https://blog.prateekjain.dev/supercharge-your-devops-workflow-with-mcp-3c9d36cbe0c4?sk=1e42c0f4b5cb9e33dc29f941edca8d51) [comments] (https://www.reddit.com/r/programming/comments/1krb4di/supercharge_your_devops_workflow_with_mcp/)
Resisting the Rush: Why Careful Planning Beats Quick Coding
https://www.reddit.com/r/programming/comments/1krdjdi/resisting_the_rush_why_careful_planning_beats/

<!-- SC_OFF -->AI tools like cursor and windsurf are making the consequences of quick and dirty code even worse. It is my impression that rushing into coding is encouraged by modern development culture and AI tool leading to fragile, buggy and short-lived code. By understanding the domain, documenting clear plans, focusing on interfaces, and valuing literate programming, teams can avoid technical debt and create software that lasts and evolves successfully. Resisting the Rush: Why Careful Planning Beats Quick Coding (https://codingismycraft.blog/index.php/2025/05/20/resisting-the-rush-why-careful-planning-beats-quick-coding-in-software-design/) <!-- SC_ON --> submitted by /u/Greedy_Principle5345 (https://www.reddit.com/user/Greedy_Principle5345)
[link] (https://codingismycraft.blog/index.php/2025/05/20/resisting-the-rush-why-careful-planning-beats-quick-coding-in-software-design/) [comments] (https://www.reddit.com/r/programming/comments/1krdjdi/resisting_the_rush_why_careful_planning_beats/)