HackerTrans
TopNewTrendsCommentsPastAskShowJobs

weiwenhao

no profile record

Submissions

Integrating WebView with Nature Programming Language

nature-lang.org
12 points·by weiwenhao·6 months ago·3 comments

Nature vs Golang: Performance Benchmarking

nature-lang.org
3 points·by weiwenhao·6 months ago·5 comments

Nature 0.6 Released, Better Server-Side Development Experience

nature-lang.org
2 points·by weiwenhao·10 months ago·0 comments

comments

weiwenhao
·5 months ago·discuss
I'm currently using Nature to replace Tauri for developing desktop applications, which will allow me to conduct more thorough testing later. Since the linker succeeded in linking, it indicates that all symbols were successfully located. Both libruntime and libuv are highly complex code systems. The fact that the scheduler and coroutine system are already running successfully confirms that all core functions are functioning properly.
weiwenhao
·6 months ago·discuss
Nature's runtime architecture draws heavily from Go, with its GC similarly referencing Go's allocator and collector approaches. However, the use of mark-and-sweep GC inevitably leads to memory fragmentation issues. Virtual memory usage tends to advance progressively. In contrast, the span-based memory allocator avoids significant fragmentation problems during frequent memory releases and allocations.

---

I also believe predictable memory management is crucial. An arena-based supplementary memory allocator could be the next key feature.
weiwenhao
·6 months ago·discuss
I am a core developer of the nature programming language, welcome to talk to me!
weiwenhao
·7 months ago·discuss
For package management software that is rarely used, free is the biggest motivation.
weiwenhao
·7 months ago·discuss
Very nice, my nature-lang references the old ruby design, now maybe I can reference the new one.
weiwenhao
·last year·discuss
I don't mean to promote it because the nature programming language version 0.5 is not ready yet, but the nature programming language https://github.com/nature-lang/nature basically meets your expectations, except for the use of var to declare variables, probably because I also really like simplicity.

Here's an example of how I use the nature and raylib bindings.

https://github.com/weiwenhao/tetris