The officially official Devuan Forum!

You are not logged in.

#51 2024-01-16 03:33:55

zapper
Member
Registered: 2017-05-29
Posts: 967  

Re: waylandows is crap

@quickfur tokens?

1 million lines of code is very damn excessive. Actually, I was wrong, openrc has less than 20K lines of code currently. 1/5 of the limit I had said.

less than 100k?

Nah, its less than 20K

Hmm... thats weird, it looks like systemd must have been getting stuff torn out, because i see it has 790K

https://openhub.net/p?page=6&query=init

But yeah, 790K is still massively unreasonable.

Last edited by zapper (2024-01-16 03:38:35)


Freedom is never more than one generation away from extinction. Feelings are not facts
If you wish to be humbled, try to exalt yourself long term  If you wish to be exalted, try to humble yourself long term
Favourite operating systems: Hyperbola Devuan OpenBSD
Peace Be With us All!

Offline

#52 2024-01-16 06:57:09

quickfur
Member
Registered: 2023-12-14
Posts: 431  

Re: waylandows is crap

A token is a syntactic unit in a programming language, such as a keyword, operator, identifier, or literal. Most importantly, whitespace or comments are not tokens, so the number of tokens is not skewed by empty lines or the presence or absence of whitespace, unlike lines of code. Also an identifier is a single token, so the number of tokens also doesn't get skewed by how long or short your identifiers are.

Of course, token counts are generally not comparable across languages, and depending on what exactly those tokens are the same count may represent different levels of complexity. But it's generally a more accurate measure than lines of code.

Online

#53 2024-01-16 12:12:46

stopAI
Member
Registered: 2023-04-04
Posts: 186  

Re: waylandows is crap

Systemd for example has 1 million lines of code vs openrc which has like less than 100000 lines of code.

Hello.

Very interesting statistic. Where can i find it?

P.S.

Sorry for the noise. I find it smile

Last edited by stopAI (2024-01-16 12:13:47)

Online

#54 2024-01-16 12:45:32

quickfur
Member
Registered: 2023-12-14
Posts: 431  

Re: waylandows is crap

Anyway, 790K LOC is totally insane for pid 1. The only place this kind of nonsense is even remotely reasonable is on Windows. 😜

I'm glad I took the leap and switched to Devuan, and restored some sanity to my system.

Online

#55 2024-01-24 01:34:22

zapper
Member
Registered: 2017-05-29
Posts: 967  

Re: waylandows is crap

openrc less than 20K vs systemd 790K

Facepalm.jpeg

Aye...

almost 40x bigger...

simply amazing...

in all the wrong ways though...


Freedom is never more than one generation away from extinction. Feelings are not facts
If you wish to be humbled, try to exalt yourself long term  If you wish to be exalted, try to humble yourself long term
Favourite operating systems: Hyperbola Devuan OpenBSD
Peace Be With us All!

Offline

Board footer