#General questions

50 messages · Page 1 of 1 (latest)

ornate lark
#

oh i fixed the keyboard layout

covert cypress
#

I'm not enough of a linux expert to give a good explanation, but I think sudo allows a user to run commands with root privileges without logging into the root account.

ornate lark
#

ah i see

covert cypress
#

Okay, for some reason, only firefox-esr is available, which is strange.

#

So sudo apt install firefox-esr should get you the extended support release version of the firefox web browser.

ornate lark
#

nice that worked

ornate lark
#

i mean hey it is what it is right 🤷‍♂️

fresh oyster
#

it is what it is, and that is overpriced

ornate lark
fresh oyster
#

apple is like a fashion brand, they have some good things but it's overpriced

native timber
#

sudo allows a user to launch a command or session as the root user, su let's you switch user (to root with the password). Sudo can be replaced with programs like doas aswell, they all achieve the same thing

vernal kilnBOT
#

#3 Windows Hater received a thank you cookie!

native timber
#

Syscalls are pretty cool, they are like functions provided to executables to do stuff like fork processes, write to files etc, if you write assembly hello world you will learn about them

ornate lark
vernal kilnBOT
#

#3 Windows Hater received a thank you cookie!

ornate lark
#

do you recommend learning assembly before i get more into C and Rust?

#

i really want a solid foundation before i head deeper into this field

#

is there like a long tutorial that starts with basic information about operating systems, then teaches assembly and then C? i can learn rust later i just want the important things first

#

like i want it to cover all these abi gnu ffi bsd etc etc stuff

#

and important terminal commands

native timber
#

I'd recommend c or rust first tbh

#

In assembly you are completely on your own and manipulating pointers, ram, registers and the stack all by yourself

#

C might be easier as it still lets you do alot of it, but at a much simpler syntax

solemn valley
#

i'd recommend doing a normal flow

#

go with something easy and then go lower

solemn valley
#

also just saying, languages like rust make it very easy to write an OS without assembly

ornate lark
#

i feel like understanding operating systems is the foremost thing to build a foundation of knowledge

solemn valley
#

you cant understanding operating systems unless you understanding its code first

#

C is a simple way to get started, then you could go asm which gives you machine knowledge as i call it

ornate lark
#

how long would it generally take for someone to grasp C, then assembly and then os stuff?

solemn valley
#

C can be grasped easily in a few weeks

#

Assembly too is easy if you start with Arm and not x86 (risc is just easier)

#

Also, going to quote osdev wiki, "operating system development is the last frontier for a programmer"

ornate lark
#

the last thing any programmer should learn?

solemn valley
#

The last thing a programmer will ever conquer

#

Except maybe a compiler, but llvm made that easy

vernal kilnBOT
#

bri*ish received a thank you cookie!

ornate lark
solemn valley
#

just a reminder, osdev assumes you know intermediate knowledge about low level in general

#

but

#

its the best wiki ever

ornate lark
#

Been skimming through it, all i see are stuff i never knew existed