Unix is an object-oriented OS.
(The nomenclature is quite backwards. It would be like building a database of employees, companies, etc. then saying "everything is an employee", companies are just a special kind of employees.)
121–130 of 142 posts
Unix is an object-oriented OS.
(The nomenclature is quite backwards. It would be like building a database of employees, companies, etc. then saying "everything is an employee", companies are just a special kind of employees.)
Instead of "files", they should have called it "objects". Unix is an object-oriented OS. (The nomenclature is quite backwards. It would be like building a database of employees, companies, etc. then saying "everything is an employee", companies are just a special kind of employees.)
The new OS I am creating https://www.exaequos.com is WebAssembly in a POSIX environment. So it is running in every web browser
fun project! always love to see more unix cli in the browser. It is super nice with the local first approach, and I wonder what it would take to be able to `mount https://example.org ` from `test.com`, if both websites are running the "wasm web OS" your linked to. Cheers!
Instead of "files", they should have called it "objects". Unix is an object-oriented OS. (The nomenclature is quite backwards. It would be like building a database of employees, companies, etc. then saying "everything is an employee", companies are just a special kind of employees.)
In your "companies are just a special kind of employee" example well if that is true within your data model then that is quite interesting and contributes to the listeners understanding of how things work. The alternative "companies are a just a special kind of entity" is less useful.
The new OS I am creating https://www.exaequos.com is WebAssembly in a POSIX environment. So it is running in every web browser
Oof. My Firefox browser on Ubuntu crashed and all my open VSCodium's went along with it. Happened when loading for a second time. First time worked.
Reminds me of that time I wrote a StringToExecutableFile() function for running [e.g. a Rust binary] from C++, but that depended on several layers of build system horror to embed the executable file as a string, and it wasn't cross-platform. Imagine a utility function that dumps an embedded string to an unlinked temporary file, sets the +x permission, and returns a /proc/self/fd/N filename so you can exec() a subproc…
This is of course not the purpose of your post, but since you're interested in this topic, I wanted to mention that you can now create memory-backed files on linux using the memfd_create syscall without using any filesystem (nor unlink) and you can also execute them without the /proc/self/fd trick by using the execveat syscall. In glibc, there is fexecve which uses execveat or falls back to the /proc trick on older k…
Earlier quoted context omitted.
Nothing like reinventing COM :)
Nobody has a good IPC/RPC-based abstraction set right now. And everybody is kind of struggling with that. Look at the latest Microsoft thing about embedding Python in Excel. They're going the wrong direction. What everybody wants is to be able to drive Excel from Python aka an API that people could hook into. Even WASM is kind of ... weak ... because it has to deal with the lowest common denominator--a web page with…
I just think it’s funny since it was so heavily derided by people. It took awhile for me to appreciate its reasons to exist, and I still don’t like some of the vocabulary they used.
Earlier quoted context omitted.
Nothing like reinventing COM :)
Nobody has a good IPC/RPC-based abstraction set right now. And everybody is kind of struggling with that. Look at the latest Microsoft thing about embedding Python in Excel. They're going the wrong direction. What everybody wants is to be able to drive Excel from Python aka an API that people could hook into. Even WASM is kind of ... weak ... because it has to deal with the lowest common denominator--a web page with…
Earlier quoted context omitted.
I'm losing my job soon due to their return to office bullshit. And I was hired as a remote employee. HR can kiss my fuzzy butt lmao
I am sorry to hear that. Please accept my apologies for a quick and easy sarcastic comment that cut too close. Good luck with the future job hunt.