[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


>be me
>decide to write my own OS in pure x86_64 assembly from scratch
>call it shelly
>actually get it booting and somewhat usable
>realize I hate Unix traditions with a burning passion
>so I make my own shell + scripting language inside it called "rush"
>no cryptic flags, no single letter autism, no bash-isms
>just clean English grammar that applies to everything
>command object flags
>auth admin package install git
>calc 3 * 3 ~ bounce https://google.com
>uses ~ for pipes because | looks like shit
>actually works pretty well on my jank assembly OS
>now I'm porting the whole thing to Windows
>yes, Windows
>because why the fuck not
>got the full spec written, account system with roles (guest/member/admin), proper hashing, scripting, loops, forward-only skipto (no real goto cancer), variables, the works
>why am I doing this?
>for fun
>pure unhinged hobbyist autism
>no job, no grant, no github cloutchasing, just me vs the unix boomers in my head
>rush is deliberately not a real programming language
>it's a comfy interactive shell + small scripting tool that tries to be guessable
>even has its own mini text editor when you open a file
>anyone else out here writing their own OS + shell just to escape ls -la && sudo apt update?
>rate my life choices /g/
>>
>>109216130
i did this shit while in college. 2 years out and i'm now working as a cook
>>
>>109216130
post code or else i will assume its vibecoded garbage
>>
File: rush_logo.jpg (83 KB, 784x1168)
83 KB JPG
>>109216130
*sigh*
i'll get started on the logos
>>
>>109216204
assume whatever, the best I can do is share the spec publicly even that will not be open-source.
>>
>>109216130
>>no job, no grant, no github cloutchasing, just me vs the unix boomers in my head
funny how the AI can't stop it's AIisms even when it's trying mimick a greentext, the linkedin jeet underneath can't be hidden
>>
>>109216130
>in pure x86_64 assembly from scratch
Who does that? Why? Why not C?
>>
>>109216130
>windows
>not haiku
the fuck is wrong with you
>>
>>109216290
lol as i expected.
tell me how to make a pineapple pizza now and MAKE NO MISTAKES CLANKER
>>109216298
exactly kek
>>109216327
he doesnt know what hes talking about, just parroting whatever claude told him to say
>>
File: file.png (175 KB, 600x600)
175 KB PNG
>>109216350
He actually does know what he's talking about. You guys need to stop making every fucking thread an AI accusation. Nobody cares if it's AI or not because it's unknowable here. Until they pass mandatory biometric verification to use the internet, it's impossible to know. So just stop bitching about it
>>
>>109216377
But it makes no sense. Even Terry used C (his own version), this guy says everything was done in pure asm. I'm asking why, what was the purpose, what benefits can it provide, etc.
>>
>>109216377
>Nobody cares if it's AI or not because it's unknowable here
I DO.
If you don't want people to ask you simple questions like code snippets or any details about your project, then dont come here and gloat about it, did he expect us to say "good job" without asking any questions especially if its something as big as solo developing your own "os"
>>
>>109216203
Fucking real
>wrote an entire game engine in high school
>contributed to countless open source projects
>I work as a security guard
>>
I don't have the OS with me anymore (lost media) was a long time ago but let me provide you the language spec

RUSH SPEC v0.2 (Windows port in progress)
Core Grammar (only rule):
command object [flags...]
or sometimes
domain verb object [flags...]
Examples:
auth admin package install git
del myfolder -force -every
Global Flags:
-test - preview only
-force - ignore warnings
-every - recursive
-silent - no output
-info - verbose
-default - use normal Windows program instead of rush version
Variables:
a = 5
b = "hello"
show {a} world
Calc & Pipes:
calc 3 * 3 outputs 9
calc 3 * 3 ~ bounce https://google.com bounce does 9 attempts
Bounce: simple TCP reachability test (not ping)
bounce https://google.com or bounce example.com 5
Control Flow:
textloop 5
show "hi"
end

if a == 1
skipto next
end
next:
Auth / Accounts:
3 tiers: guest member admin
regi, login, logout, promo
auth admin <command> runs at that level (if your account allows it)
Scripts: .rsh files with start ... quit
Main Commands:
show, list, where, goin, del, mkf, mkfl, read, write, owrite, open, edit, dload, extr, calc, bounce, time, wait, find, rname, ali, package, help
Special:

open file.txt = tiny built-in line editor
package = delegates to winget/choco etc.
-default = hand off to real Windows program

Made originally for my custom asm OS (now lost media), porting to Windows for fun.
Hates cryptic unix shit, wants guessable English commands.
Ask if you want the messy handwritten version or more details.

if you actually read all this you're based
>>
>>109216431
likely better for us than spending all our time in front of computers anyway, but damn i wish i could be putting my skills to use
>>
>>109216465
y know what never mind I can't type anymore that spec should make you happy (my writing is messy anyway)
>>
>>109216403
Speed.
He's writing it in pure assembly, not writing in C and hoping the compiler writes it how he wants.
Yes it will probably boot, depending on the compiler, but why not cut out the middle man and just write asm directly.\

>>109216431
Dust: An Elysian Tail was made by a full time employed married man with two children. Solo, in his spare time over two years
>>
why do I keep spending time on this thread?
>>
>>109216209
by the way thanks for the logo
>>
>>109216130
>coding manually
Fucking retarded luddite I hope you die
>>
>>109216595
tf man 50% /g/ hates ai content another 50% hate human content.
>>
>>109216614
You are trans because you don’t use ai
>>
File: shell.png (15 KB, 822x147)
15 KB PNG
>>109216130
>>realize I hate Unix traditions with a burning passion
>>no cryptic flags, no single letter autism, no bash-isms
>>just clean English grammar that applies to everything
So you took ideas form Powershell and made a racist command line shell, I see...
>>
>>109216471
Computers are pretty bad for your health
>>
>>109216465
kind of reminds me of batch, i like it. tiny cute shells like this always inspire me to try osdev a bit
>>
If ~ is your pipe what's your home directory?
>>
File: PowerShell-3850275356.png (203 KB, 2560x1440)
203 KB PNG
>human readable shell
>runs on windows
>>
>>109218451
home
>>
>>109216130
problem with unix shell as a scripting language that cobbled together around interactive input with lots of stupid gotchas e.g. glob expansion on by default, allowing referencing undefined variables

glob expansion could be a feature of readline, not on in runtime
>>
>>109218495
powershell is powerful but verbose as fuck
rush is the opposite: tiny and cute
>>
>>109218402
yes
>>
>>109216130
>No proof.

You're a gay nigger rapist.
>>
>>109218844
>>
>>109218889
>Wow a picture of files!
It's fucking nothing.
>>
I'm also writing my own OS, but it's more or less a POSIX implementation. Before that I tried making the OS in my own Forth dialect, but didn't get very far. Forth seems like a good compromise between being able to write everything on your own and having your own design choices, and having a language that is simple enough to be able to bootstrap it from nothing. Too bad, I surrendered and rewrote it with GCC+Binutils+Nasm, because I'm weak and cannot be bothered to write Forth and Forth-ish assembly only. I respect OP for not being as weak and actually doing something novel for once instead of trying to make the 9999th UNIX-clone.
>>
>>109216130
>porting an OS to an OS
maybe all you did was just a command shell, not an actual OS, you fucking loser.
>>
>>109221801
it WAS a real os, that can create modifye and delete files. boots in real hardwere with custom boot loader (just without presistent storage)
>>
>>109221801
also I'm not porting an OS to an OS just the shell think of it like someone porting bash to windows from linux
>>
>>109216130
Fuck you DW. Bitch. I'll slap you
- Arthur probably
>>
>>109221891
You did nothing, achieved nothing.
>No proof.
>No source code.
>>
>>109222057
Fact: If someone says trust me bro, they are indeed asking to be trusted
>>
>>109218803
is it funny too?
>>
>>109216519
>not writing in C and hoping the compiler writes it how he wants
So you don't know how C works?
>>
>>109222057
So just because somebody doesn't want to give you the result of their hard work for free it means they didn't accomplish anything? Are you Jewish by any chance?
>>
>>109223012
You don't know how C works. The C spec doesn't give any guarantees about the generated assembly.
>>
>>109223035
It's not about spec, it's about a specific compiler that would do that.
>>
>>109223035
just write your own, it's really simple to write a C99 compliant compiler
>>
is this a typescript ad thread
>>
>>109223301
No, sir.
>>
>>109223017
You're coping and glowing brightly. :-^)
>>
Use case for reinventing the wheel?
just build a shell on the BSD.
>>
>>109216130
jesus fucking christ how hard is it to just tar the files and throw it on catbox
the other side of this are people who say open sourcing software is high maintenance, just put a tarball on neocities or dropbox or ANYTHING and put in an agplv3 license, or even all rights reserved because fuck freeloaders
fUARRK
>>
>>109216519
>Dust: An Elysian Tail
It's really not that impressive.
>>
>some dude posts about his cool hobby project
>gets swarmed by entitled homos
Why are anons like this?
>>
>>109216209
"I'll make the logo" evolved into AI slop as well. Truly prophetic.
>>
>>109223912
fine, I shared it.
>>109224800
>>
>>109216130
You didn't do any of that



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.