aero
goja
aero | goja | |
---|---|---|
12 | 25 | |
1,092 | 4,960 | |
- | - | |
8.9 | 6.3 | |
21 days ago | 3 months ago | |
Rust | Go | |
GNU General Public License v3.0 only | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
aero
-
Maestro: A Linux-compatible kernel in Rust
This feels like an ad; the blog post and the README feel like they were written to sound complicated and smart rather than tell the whole truth. Like, "On boot, the kernel has full access to the memory and is allowed to write where it should not (its own code, for example)"? Apart from the fact that ring 0 will always have full control, the MMU also exists. Also, the "48k" (the kernel has 34324 lines of non-comment code, the rest are in the other repos I assume) LOC are obvious when you consider code like src/syscall/mod.rs:717 is present.
To be fair, this is impressive, but its a basic monolithic kernel written for a school project, with the "twist" that it is in Rust and uses Linux syscalls.
For anyone who is interesting in more Rust UNIX-like kernels, Aero (https://github.com/Andy-Python-Programmer/aero) is farther ahead supports running quite a lot of recompiled Linux userspace, including dwm and WebKit.
-
Aero OS: A new modern operating system made in Rust, now able to run the Links browser, Alacritty and much more!
https://github.com/Andy-Python-Programmer/aero/blob/master/src/aero_kernel/src/mem/paging/addr.rs especially obvious, if you look at the first version of this file:
-
Aero, a new modern OS made in rust and is now able to run Xorg! :)
There is progress in implementing the DRM subsystem (cc https://github.com/Andy-Python-Programmer/aero/blob/master/src/aero_kernel/src/drivers/drm/mod.rs) but currently it only implements a small portion of the subsystem. But yea, this was one of the blocking points.
- Your one project with rust that you think is one of the best projects you have made.
-
Software Development Foundations - How to teach a 14 year old?
Get him to join the OSDev discord chat. Most of the people there started learning programming in the middle of the pandemic and are now building complex projects. Group is mostly kids his age, 12-16 year olds, learning to hack around. Like this 13 year old or this 15 year old.
- Aero: An experimental, Unix-like OS written in Rust
-
Aero is a new modern, experimental, unix-like operating system made in rust!
you can compare with initial commit: https://github.com/Andy-Python-Programmer/aero/commit/3ee1c052454a1386dc8d1688b5ca9d616e3a907b
goja
- Goja: ECMAScript/JavaScript engine in pure Go
-
SSR React in Go
dop251/goja
-
Show HN: Flyscrape – A standalone and scriptable web scraper in Go
Your comment was posted 4 minutes ago. That means you still have enough time to edit your comment to change it so it contains real URLs:
<https://github.com/PuerkitoBio/goquery>
<https://github.com/dop251/goja>
(Please do not reply to this comment—I won't be able to delete it once the previous post is fixed if it contains replies.)
- Goja: ECMAScript 5.1 implementation in pure Go
-
TySON: TypeScript as an embeddable configuration language, without depending on Node or V8
Apparently "not depending on Node or V8" means depending on some random Go JS engine instead.
-
Examples of using task scheduler with Go?
Goja https://github.com/dop251/goja
-
Running a Js file inside Go
Either call a JavaScript interpreter like node with exec.Command and read its stdout, or use a pure Go JavaScript interpreter like goja or otto.
-
easytemplate - Go's text/template library with JS Super Powers
Just to also say this is implemented in pure Go we aren't including V8 or any external dependencies we instead use https://github.com/dop251/goja which is a JS VM written completely in Go.
-
how to JSON Marshal a struct if one of its fields is a fucntion
If you want to serialize a function to JSON one idea may be to embed a scripting language like JavaScript into your program. The goja package is a very good solution: a native ES5 JavaScript (with some ES6 syntax support as well) natively implemented in Go so you can get tight data bindings to your Go types and funcs. For your JSON marshalling you could serialize a JavaScript function source (text) and when reloading that, parse that text with goja to be able to run it dynamically in your Go program. Basically you'd need to get away from pure Go for this and towards something that is JSON compatible to (de)serialize to text.
-
Anyone experienced in golang ssr?
Not really. It was built in-house and I don't know of anything about it that went public. I recall it using Goja for the JS runtime. Code was embedded into the binary (think embed package). There was some kind of sorcery to convert what would be HTTP network calls in the browser into local function calls during SSR, but I'm hazy on how it worked I'm afraid.
What are some alternatives?
x86_64 - Library to program x86_64 hardware.
otto - A JavaScript interpreter in Go (golang)
ngs - Next Generation Shell (NGS)
v8go - Execute JavaScript from Go
ferium - Fast and multi-source CLI program for managing Minecraft mods and modpacks from Modrinth, CurseForge, and Github Releases [Moved to: https://github.com/gorilla-devs/ferium]
go-lua - A Lua VM in Go
oil - Oils is our upgrade path from bash to a better language and runtime. It's also for Python and JavaScript users who avoid shell!
gopher-lua - GopherLua: VM and compiler for Lua in Go
album-art-wallpaper - An app for Windows that will change your desktop wallpaper to the album art of the song you are listening to.
tengo - A fast script language for Go
WingOS - a little 64bit operating system written in c++ with smp support
go-python - naive go bindings to the CPython2 C-API