Live data from Hacker News

x86 Bare Metal Examples

github.com

1–10 of 59 posts

Re: x86 Bare Metal Examples

#3
post #2

What is the use-case in real life ? Is it to run special lab/factory equipment ? Anyone here who develops for bare metal - can you share any details?

The use case is to break some layers of abstraction. If no one would write such a guide, who would create the next OS? We would all be dammed to copy existing codes and pray they work.

I applaude the author for the effort, in particular using images that can be booted should make it feasible to use these techniques for teaching!!

Re: x86 Bare Metal Examples

#4
I'm kind of curious who's behind this Ciro Santili guy.

He(?) seems to be doing a ton of interesting github repos, a great deal of informative stackoverflow answers and who knows what else.

Also, some anti-CCP stuff in the profile?

Re: x86 Bare Metal Examples

#6
post #2

What is the use-case in real life ? Is it to run special lab/factory equipment ? Anyone here who develops for bare metal - can you share any details?

A dream I've had for a long time is to make an application that you boot into, which is the only application on the computer, for maximum optimization. Upgrades would be easy, just reboot the computer and load the new software. Wouln't write everything in assembly though.

Re: x86 Bare Metal Examples

#7
post #4

I'm kind of curious who's behind this Ciro Santili guy. He(?) seems to be doing a ton of interesting github repos, a great deal of informative stackoverflow answers and who knows what else. Also, some anti-CCP stuff in the profile?

If you have any specific questions, fire away :-)

Homepage + social media links from there should give a good idea of who I am: http://www.cirosantilli.com

Re: x86 Bare Metal Examples

#8
post #2

What is the use-case in real life ? Is it to run special lab/factory equipment ? Anyone here who develops for bare metal - can you share any details?

This repo is mostly just educative as a helper to understand Linux kernel x86 / Linux kernel drivers

In e.g. ARM, baremetal is potentially more useful due to embedded. But even in ARM you should just use Linux kernel / some RTOS if you can get away with it :-)

Re: x86 Bare Metal Examples

#9
post #6
post #2

What is the use-case in real life ? Is it to run special lab/factory equipment ? Anyone here who develops for bare metal - can you share any details?

A dream I've had for a long time is to make an application that you boot into, which is the only application on the computer, for maximum optimization. Upgrades would be easy, just reboot the computer and load the new software. Wouln't write everything in assembly though.

Yes, the ASM overkill was a mistake of my youth :-) https://github.com/cirosantilli/x86-bare-metal-examples/tree...

Re: x86 Bare Metal Examples

#10
post #6
post #2

What is the use-case in real life ? Is it to run special lab/factory equipment ? Anyone here who develops for bare metal - can you share any details?

A dream I've had for a long time is to make an application that you boot into, which is the only application on the computer, for maximum optimization. Upgrades would be easy, just reboot the computer and load the new software. Wouln't write everything in assembly though.

What you describe used to be very common: https://en.wikipedia.org/wiki/PC_booter
Post reply on HN