Re:Essence: Desktop operating system built from scratch
by TheFreim on Saturday January 15, 2022 @08:55PM
(#29952524)
I have multiple RPi devices but I don't really think of it when I heard "low-powered hardware", I think of a low end laptop from ~2010.
Re:Essence: Desktop operating system built from scratch
by simondotau on Saturday January 15, 2022 @09:54PM
(#29952819)
Whereas my first reaction hearing “low powered hardware” was to think of computers which require a low amount of input power, as measured in watts.
Re:Essence: Desktop operating system built from scratch
by 7thaccount on Saturday January 15, 2022 @11:05PM
(#29953179)
But wouldn't this also run on a laptop that is much older? My pentium 4 computer from when I was not much older than my daughter had much better specs than the minimum they need here. I'm sure there are some other limitations though.
Re:Essence: Desktop operating system built from scratch
by Zomatree on Saturday January 15, 2022 @09:23PM
(#29952672)
Its x86 only currently. I know the owner does want to add arm support but its not being worked on.
Re:Essence: Desktop operating system built from scratch
by nodesocket on Saturday January 15, 2022 @09:49PM
(#29952789)
Curious, is porting complex C++ projects to arm64 just a matter of updating build/CI systems or does it actually involve changing core code and adding branches if (x64) {} ... if (arm64) {}.
Re:Essence: Desktop operating system built from scratch
by 8192kjshad09- on Saturday January 15, 2022 @10:11PM
(#29952896)
Most user-space code is not difficult to port. An operating system is much more work.
Take a look at https://github.com/torvalds/linux/tree/master/arch/arm64
Re:Essence: Desktop operating system built from scratch
by estebarb on Saturday January 15, 2022 @10:11PM
(#29952899)
For common programs it's not very difficult, usually just recompile. But if it uses assembly then you are out of luck. Also if it requires a library that uses it.
For an OS it is different, you need to reimplement many parts: bootloader, drivers, task scheduler, virtual memory...
Re:Essence: Desktop operating system built from scratch
by pjmlp on Sunday January 16, 2022 @03:02AM
(#29954226)
Like everything in computing it depends.
x86 and ARM don't same the same memory consistency model, so while managed languages do somehow protect their users from the differences, languages like C++ do expose it by default (unless you make use of the C++11 memory model APIs[0]).
So it depends how clever the lock-free kernel datastructure were written and other memory access assumptions.
[0] - https://en.cppreference.com/w/cpp/language/memory_model
Re:Essence: Desktop operating system built from scratch
by transitorykris on Saturday January 15, 2022 @10:06PM
(#29952873)
All of the x86 assembly (see arch and boot/x86 dirs..) and any x86 assumptions being made elsewhere in the rest of the code is where the work is.
The thing is, when I see a mention of "low-powered hardware", I'm instantly thinking of a Raspberry Pi 4. I assume this isn't supported (yet).