Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Sagi21805
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
Sagi21805
3mo ago
Said the inner block inside the for loop could not be a function, because break does not mean anything not inside a loop, but the macro, which seems like a function, injects it into the code which is inside a loop, which is valid
2.
▲
by
Sagi21805
3mo ago
That's really cool, I was not familiar with this and will look into it!
3.
▲
by
Sagi21805
3mo ago
Thanks! Couldn't agree more, both on proc macros and operating system, I did not find sufficient information on the internet. That is exactly the purpose of this book.
4.
▲
by
Sagi21805
3mo ago
Yea that's sound about right The macro explained in that section was mainly for me to learn macros, and save up some boilerplate with nice syntax.
5.
▲
by
Sagi21805
3mo ago
Thanks for the warming comment!
6.
▲
Building Rust Procedural Macros from the Grounds Up
(learnix-os.com)
88 points
by
Sagi21805
4mo ago
|
18 comments
7.
▲
by
Sagi21805
4mo ago
During the development of Learnix operating system I needed to represent bitflags inside some structures. While there were alternatives with 3rd party libraries, the goal of the project is to implement and learn as much as I can. Most of th
8.
▲
by
Sagi21805
4mo ago
Hi! This is a project that I am working on for quite a while. The main goal is to teach operating systems and Rust. This is still 'beta' and a lot of things are missing (especially Rust chapters) but I would like to know what you
9.
▲
by
Sagi21805
4mo ago
I am working on the Learnix operating system ( https://gitHub.com/sagi21805/LearnixOS ) Mainly an educational project, to understand and teach about OS and Rust concepts (The OS is written in Rust) https://www
10.
▲
by
Sagi21805
9mo ago
I plan to cover more, like disk drivers, file systems, processes, shell, user space, processes, until we can run a working program! Hopefully, also networking
11.
▲
by
Sagi21805
9mo ago
This project started because I wanted to understand the linux that sits on my computer, which is x86. There is a possibility that on the future it will have multiple architectures supported, probably starting with arm, but I can't prom
12.
▲
by
Sagi21805
9mo ago
You are correct, and it will be fixed!
13.
▲
by
Sagi21805
9mo ago
Because I didn't really publish it, I didn't check all the grammar and type errors This is something I will improve when the initial release will come
14.
▲
by
Sagi21805
9mo ago
That's actually an interesting idea, the main reason is that I wanted to take a doom port that is posix compliant and see if I can make it run
15.
▲
by
Sagi21805
9mo ago
When I started writing this OS, Rust was a pain, and I needed to understand a lot of things that I didn't know about the language, I can flag on some sections that people can skip because they are more language related, but I think tha
16.
▲
by
Sagi21805
9mo ago
I like the current name and already have the domain :|
17.
▲
by
Sagi21805
9mo ago
Will do!
18.
▲
by
Sagi21805
9mo ago
Hi! I am the developer of this, and I really appreciate the feedback!! The book is still on development and this is why I didn't even publish it here, I just recently finished the highlighter which was a lot of work, and I probably wi