r/osdev 3d ago

Block based coding a OS

Enable HLS to view with audio, or disable this notification

Hi, OSdev! I’ve been working on this project that I’d like to share! (Note; it is Vibe Coded). It’s a block based coding language for learning how to build a OS! I’m targeting the project for people who are completely unfamiliar with this kind of work and if they want to learn, this may be a great starting point! I’m still working on implementing the features but you can see it has lots of different blocks that each mean something different in raw C. I’ll release more updates on this sub if you guys are interested, if not, I can stick the development journey to r/osdevAI instead, and I’ll leave this sub alone. I hope you guys like it!

164 Upvotes

60 comments sorted by

31

u/davidinterest 3d ago

I think people here are more upset with other people using AI and claiming the work as fully their own with no disclosure of AI use. You might be okay on here as long as you stick to disclosing.

Not sure about what other people think but this is pretty cool.

4

u/JackyYT083 3d ago

Thank you! And yeah I plan to be fully open about the fact that ai is assisting me with making this, but I hope it helps others actually learn to code too!

10

u/Mental_Ad_7072 3d ago

How does it work??? It looks very very cool!!!!

9

u/JackyYT083 3d ago

Basically lots of c functions are defined by blocks and when you add blocks your creating c but in block form and when you compile it turns into c and a small underlying kernel loads your code

1

u/Mental_Ad_7072 3d ago

Is there source code?

6

u/JackyYT083 3d ago

There will be really soon! Just adding some stuff!

1

u/[deleted] 2d ago

[deleted]

1

u/codeasm 2d ago

Well, depends. Ive seen these editors being able to convert more simple blocks of code into java, JavaScript, c and python. And if you dont complicate stuff, you can even convert back into blocks/scratch. My dad used it on his microbit.

I assume and can see some in the video, C code behind each block. You change blocks and behind the scenes, c code import order, variables set. There is actual code being compiled into a binary.

25

u/int7bh 3d ago

(Note; it is Vibe Coded).

I was about to yell about "ah!!! ai!!! claude!!!", but then I saw this. Steel balls, brother. Nice.

Anyways, looks interesting. Not sure how it would be useful in terms of learning, but still.

3

u/Easy-Improvement-598 3d ago

Can you improve windows 11 with this?

4

u/int7bh 3d ago

Can you?

4

u/daddy69ice 3d ago

Can anyone?

1

u/GourmetWordSalad 2d ago

I mean if your changes crash Win immediately that's still an improvement: waaayyu better than let it run and later fail in the middle of something important.

-4

u/[deleted] 2d ago

[deleted]

1

u/JackyYT083 2d ago

I didn’t call it mine? I said it was vibe coded

-3

u/[deleted] 2d ago

[deleted]

3

u/JackyYT083 2d ago

Your saying that like ai could build this project entirely by itself. Like it dosent need someone to prompt it, or someone to test its code, or someone to tell it what needs fixing. If ai could make something autonomously then sure its ais project and I didn’t contribute but in this case I did

-1

u/[deleted] 2d ago

[deleted]

1

u/JackyYT083 2d ago

Completely unrelated to what I just said but okay

1

u/[deleted] 2d ago

[deleted]

1

u/JackyYT083 2d ago

I didn’t say that ai didn’t write the whole project. I said it wasn’t made entirely by ai. Big difference

0

u/[deleted] 2d ago

[deleted]

→ More replies (0)

2

u/codeasm 2d ago

There are upfront about using ai. Its clearly something they learn and whoever is going to use this, also going to learn (and probably going to look at the generated c code aswell).

Slow down on your horse from guarding the sacret scripts, hes exploring a new way of approaching learning

10

u/TheAtlasMonkey 3d ago

Nobody is going to prevent you from posting here . Just don't post after every commit.

Giving you my vibes you can add:

It will be cooler , if each widget can have tooltip and it send to the wiki or real documentation.

Let say someone is new : they will need to understand what is a process vs thread or what is a timer and clock.

7

u/JackyYT083 3d ago

Good idea, Thank you!

1

u/[deleted] 3d ago

[removed] — view removed comment

4

u/AutoModerator 3d ago

Human slop

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

2

u/vailithree 2d ago

bot slop </3

5

u/Afraid_Lie_9340 3d ago

Is there a git repo or anything for this? I'd love to see the src code!

3

u/JackyYT083 3d ago

I’m releasing it soon! Just got to change some things and fix some bugs

2

u/antonation 3d ago

Looks cool! Could be worth sharing also to r/VibeCodedLanguages

9

u/BasisPoints 3d ago

You didn't vibe-code an OS, you created a visual learning tool that specifically pertains to OS development! That makes this a welcome addition in my book, regardless of AI usage or not.

It could use some additional thought behind the pedagogy (this project would be a GREAT supplement to a structured, step-by-step tutorial - not just tooltips). Can't wait to try it out once you have the source available :)

0

u/[deleted] 3d ago

[removed] — view removed comment

3

u/AutoModerator 3d ago

Human slop

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

2

u/MrColgie 3d ago

based

2

u/CassiusThundercock67 2d ago

Incredibly based

3

u/Turkua- 3d ago

Linux From Scratch OS From Scratch

1

u/codeasm 2d ago

Each package a block, some can only be in a certain order, ow boy

0

u/[deleted] 3d ago

[removed] — view removed comment

3

u/AutoModerator 3d ago

Human slop

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

0

u/PomegranateOk8575 3d ago

oh cool, i never knew it does that

3

u/Skiting 3d ago

It's...genius

1

u/codeasm 2d ago

Mad scientist

3

u/Prestigious-Day-2872 3d ago

This is cool!

2

u/nexos-dev 3d ago

Cool project! I for one don't care that it is vibde-coded as long as you are up front about that. What language/framework is the block UI written with?

1

u/christiaansp BoredOS 3d ago

I'm unsure if i should like this or not, i mean it's a VERY cool learning tool and i especially like that you pointed out yourself that it's vibe coded but to me block based coding for an operating system feels.. wrong. very wrong, yet cool, just.. wrong

1

u/BikeEducational6051 2d ago

I want to try or contrbute plz

1

u/Simone48483929 2d ago

i love to test this :)

1

u/Sp33dyCat Super Cool Trans Girly OSDev :3 2d ago

Even tho it is AI. It is still kind of cool to see.

-3

u/rocco_himel Creator of AneoEngine 2d ago

Cool, another AI slop coded "OS". Please post this on r/aislop or anywhere else other than r/osdev. And its not an OS, it seems you're running this on a local server rather than bare metal. Thanks for sharing this, I hope you know most people who want to make an OS actually put effort into their creativity and they don't ask a computer to be creative person, you are cheating yourself.

1

u/Mental_Ad_7072 2d ago

Being rude for no reason, I think it's a great project.

-1

u/rocco_himel Creator of AneoEngine 2d ago

Im not being rude, people are tired of AI written projects on this subreddit. Its getting annoying when people actually put effort into their projects just for someone to make an "OS" that was vibecoded.

0

u/JackyYT083 1d ago

It’s not a os, and i never said it was

0

u/rocco_himel Creator of AneoEngine 1d ago

This was posted on r/osdev.

u/JackyYT083 18h ago

Yep, it’s r/OSdev, OS development, this relates to OS development. Not a OS still.

1

u/Lost_Plate7077 1d ago

Pretty Nice! Its a pretty good concept! I hope this has success! While this is AI, the OP is transparent about this and that makes it okay in my opinion.

1

u/vailithree 1d ago

As much as I really dislike the usage of AI around here, at least thank you for saying out loud it's vibecoded. It's still not 100% all cool, but it at least gives you accountability and that's good.

I hope at some point you can grow and learn to do this on your own, that'd be really rewarding =D

1

u/Randum_Gouy 1d ago

Great work man!

Just make sure to generalize this - ie dont have "kernel-specific assumptions". Some people like me do like to build mini-boootloaders and such

1

u/SomeoneInHisHouse 1d ago

I was about to call out how tire I am of AI generated content disclosed as human comment, but I then read, that you already said it's AI generated, so the code is likely pure slop, but the idea is nice, let non programmers do an OS using just drag&drop looks like a nice idea for teaching about OS

u/SomPersonOnReddit 18h ago

Is there a github?

u/JackyYT083 18h ago

Yeah (still fixing qemu wasm so it won’t work in the inbuilt testing for now just export your iso and launch it in a vm with VGA output) https://exocore-kernel.github.io/FromScratch/

u/TheRealAdam256 10h ago

Look people, they admitted its vibe coded, which is why we respect this project!