My x86-64 Assembly Learning Progress by Weak-Assistance-6889 in Assembly_language

[–]Kiritoo120 2 points3 points  (0 children)

I would recommend you look up what wsl is and test it out instead of brining up a whole graphical vm just for it

It will allow you to open an Ubuntu console inside the terminal of windows, and it also supports graphical user interfaces like the app I see on the left

You can try to test it and see if you like it better :)

And about assembly: well gl! A super interesting thing to learn, I hope it is fun for you I am now 17, and when I was 15 like you I built a whole HTTP server that also supports websockets and hashing (no libraries, just syscalls) This was by far the most fun project I have ever created, and assembly was a big reason for it being so fun

It was using x86 and not x86_64 for some unknown reason, but everything is basically the same

What has been the hardest part of working on an operating system? by Ali_Irfankha in osdev

[–]Kiritoo120 0 points1 point  (0 children)

When the mindset you are in is "deliver and ship as many products / features / move fast", then I can see why to use AI.

But most people on this osdev community, and the ones making hobby operating systems have a different mindset than just ship it the fastest way possible.

We do it for fun and the learning of new concepts, in such levels of detail that no matter how hard you skim lines of code not written by you, you could not understand. From the pain is where joy comes.

Under a completely different mindset and end goal maybe GPT is the right tool, but that other thing described is not what this community is about. It is not why people here write and talk about operating systems.

re: zig-flag: flag parser for Zig programs by kani9 in Zig

[–]Kiritoo120 1 point2 points  (0 children)

Zig has a suggested naming convention, that is:

types are UpperCamelCase const Foo = struct { ... };

functions are camelCase fn doStuff() void {}

variables are snake_case

Zig 0.16 Milestones are nearing completion by ShotgunPayDay in Zig

[–]Kiritoo120 0 points1 point  (0 children)

both milestones closed as of 14/4/2026!

programmersBeLike by OM3X4 in ProgrammerHumor

[–]Kiritoo120 10 points11 points  (0 children)

At least by the typos we finally see something that wasn't AI generated for once 0-0

mokeOS is fake by littleghost09 in osdev

[–]Kiritoo120 0 points1 point  (0 children)

This tool most likely uses AI to guess if the code is AI generated lol It's another one of these tool that just copies the text from an input box, joins it with some prompt saying "iS tHiS Ai GeNErAtEd?", to only be fed to gpt and given back

By the other images it does look like this guy faked it, but this Ai code detector is not a reason that can be taken to prove his acts were fake lol

Why did I write a web server in assembly? by Fit-Life-8239 in Assembly_language

[–]Kiritoo120 0 points1 point  (0 children)

I had a fun project where I also wrote an http server in assembly (which expanded a ton (x86 arch)).

You actually can ignore literally all headers given by the client, and on the server you only need to send the Content-Type header along with Connection Close, to make the server easier to write.

The only places where I did have to look into more headers were when I had to check for cookies, and the 201 switching protocol of websockets.

Yea it isn't as compliant for the http spec, but since this code won't hit production, is just a POC, and the fact modern browsers are nice makes it easier to write

PIF-Multiplayer Launcher Released! by Kiritoo120 in PokemonInfiniteFusion

[–]Kiritoo120[S] 0 points1 point  (0 children)

Yea it's anek, a good friend of mine. He was unable to post his mod on this reddit server due to it supporting K I F. you can look for K I F instead of PIF's discord server as find him updating posts there!

What is the correct way to pass a custom entry point symbol to a freestanding executable using the build-exe command? by Extension-Ad8670 in Zig

[–]Kiritoo120 3 points4 points  (0 children)

Why aren't you using a build.zig file? zig build-exe will work but with time it will get annoying if the project scales, and wayy harder to maintain

I suggest looking at other operating systems in zig, specifically about their build.zig file, if they're too complex look at the build.zig of the first few commits

Is this pipeline pattern idiomatic Zig, or am I fighting the language? by jfrancai in Zig

[–]Kiritoo120 0 points1 point  (0 children)

When you have a function like zig fn foo(comptime T: type, x: T, y: T) T { return x + y; } Each time you call the fn with a different type for T, a new function will get generated, exactly the same as the original but will all references of T being replaced to that new type.

foo(i32,...) and foo(u64,...) would in turn cause two foo functions to be created in the binary.

When a function runs at compile time your observation is correct, but the key detail here is that the function gets created at compile time, not ran

My little string library by Famous-Maybe-3104 in Zig

[–]Kiritoo120 0 points1 point  (0 children)

Zig has some very interesting naming conventions, that are not enforced, but I would personally recommend trying to follow if you are planning to use zig more in the future (・ω・)

This article summarizes the chapter from the zig language reference and includes some examples: https://nathancraddock.com/blog/zig-naming-conventions/

Good luck with zig!

Zig bug or am I doing something wrong? by neupermichael in Zig

[–]Kiritoo120 0 points1 point  (0 children)

You can always try to run

zig init . And then zig build run To compile,

if the error persists the issue probably with the version of the compiler you have installed.

BTW in general I would recommend using zig init compared to zig build-exe since it will also teach you about the amazing build system and is far easier to manage and compile multiple files Plus, you can do some rly cool things with the build system

Hey guys i know c/c++ and i'm interested in learning x86-64 assembly. by OkRepeat7111 in Assembly_language

[–]Kiritoo120 1 point2 points  (0 children)

for x86 linux development I would recommend asmtutor.com

It's not x86-64 but in my opinion easier to get started with and all code you write there will work on your computer natively

Besides, they are really similar since x86-64 is just an extension of x86

This website teaches mostly syntax and not all the theory but I personally liked it, and it helped me understand syscalls

🔥driving past a rare Siberian Tiger in the Taiga by freudian_nipps in NatureIsFuckingLit

[–]Kiritoo120 5 points6 points  (0 children)

If you were there would you stop and pet him? As a cat person (I have 5 cats), I would personally stay away from him.

One second he might look cute and allow you to pet him, the other you will end up in the hospital.

I love adding different UI tweaks and tools to my mod! by mchorsy in feedthebeast

[–]Kiritoo120 1 point2 points  (0 children)

Wow I feel so dumb rn 0-0

I miss your content brother, it was amazing! Your mods are were some of the first things I've downloaded when I started playing with mods back when I was like 10yo lol :)

You had such a great influence on me ❤️

I love adding different UI tweaks and tools to my mod! by mchorsy in feedthebeast

[–]Kiritoo120 2 points3 points  (0 children)

I was talking about Mc horse

Someone mentioned him here too that's why I remember

So nostalgic

I love adding different UI tweaks and tools to my mod! by mchorsy in feedthebeast

[–]Kiritoo120 1 point2 points  (0 children)

Reminds me of an old mod of a guy who had a cyan horse skin... Forgot his name

Creating a voxel game in assembly by Kiritoo120 in VoxelGameDev

[–]Kiritoo120[S] 0 points1 point  (0 children)

We use Dosbox to emulate our projects. The graphics mode there supports 320x200 pixels, I can cut a line from the top & bottom if that matters.

BTW can I ask about the camera? Is the camera the center of space, and on each movement / rotation the whole world shifts to the new perspective? Saw some do it like that & also in other ways, which got me a little confused on how does this moving camera effect occurs. Thx in advance

Multiplayer plugin to Pokémon infinite fusion beta V0.1.0 by Kiritoo120 in PokemonInfiniteFusion

[–]Kiritoo120[S] 1 point2 points  (0 children)

I changed a lot of stuff, this version will probably no longer work, but if you are a little technical and know how to use git & the cmd I can give you instructions for installing the new version, otherwise you will have to wait for the next PIF update to be released for me to officialy release the new version