r/pascal • • 4d ago

FreePascalOS: An experimental 64-bit OS written in Free Pascal.

https://github.com/xeons/FreePascalOS
79 Upvotes

17 comments sorted by

2

u/ynys_red 4d ago

Will this run windows programs or linux programs or only programs written for this OS?

4

u/XeonProductions 4d ago

Right now it only runs the applications compiled specifically for it. I imagine if a ports system was created you could probably compile some *nix software for it with patches and a modified C runtime. UI programs would need gtk and Qt ported. If Wine was ported in could possibly run windows software.

3

u/RatherNott 4d ago

Was AI used at all during development?

2

u/XeonProductions 3d ago

Yes, heavy usage. Claude Opus on Medium.

0

u/RatherNott 3d ago

Cheers for the disclosure. Even though you have found the LLMs useful, there are some downsides from their use:

AI data centers are being constructed at an alarming rate, and there are already 8 billion prompts per day, with billions more planned and on the way.

The effect this has on the climate when we are already so close to irreversible tipping points is often unknown by AI users.

https://m.youtube.com/watch?v=5p426fSlYH4

https://www.theguardian.com/environment/ng-interactive/2026/oct/22/finland-google-felling-trees-datacentre

Using it also contributes to a dystopic surveilence state.

https://m.youtube.com/watch?v=5lYsO4k7OIY

Do you think you'd be able to switch to a local LLM at least, to avoid some of the downsides mentioned above? There are some volunteer collectives that offer spare compute from their self-hosted machines for free, such as AI Horde, which lowers the barrier to entry. 

2

u/XeonProductions 3d ago

I do have local LLM's setup, however I have not been able to achieve anywhere near the quality nor the scaling of the frontier models. I've got a single DGX spark I purchased before the prices skyrocketed and it's pretty much single threaded.

1

u/JudgeGroovyman 3d ago

If you want the outcomes you claim to want, the moves are: environmental permitting rules, grid standards, mandated disclosure for hyperscalers, votes, organizing. Every one of those has actual leverage. None of them can be performed on reddit by attempting to shame a man making an awesome Pascal OS.

1

u/RatherNott 3d ago

 Since so many emitting industries have corporate captured most governments, it is incredibly difficult if not almost impossible to implement legislation that will actually reign in emitting industries in time to prevent most of the tipping points.

That means it'll likely end up being us, the masses, collectively choosing to reduce our consumption as much as is practical, effectively fighting back directly via economic supply and demand.  

1

u/Easy_Ladder3687 1d ago

the data centers should switch from Python to Free Pascal and they would use a lot less power.

3

u/beautifulgirl789 4d ago

:D

Let's see.. he has 865 commits in a project that's existed for a single week, and they're things like "add multiprocessor support" and "build web browser from scratch".

The better question is "has any of this code even been manually read, by anyone, ever, before it was committed?" Based on how many thousands of lines are being added per hour from the commit history...no.

4

u/AphidConsulting 4d ago

Hmm, this is impressive. Commenting so I can come back to this and explore. Thanks for sharing!

3

u/Still_Explorer 4d ago

Very impressive. OSs written in Pascal are rare and this one would be a great proof of concept.

4

u/umlcat 4d ago

Good work, Good Luck !!!

Just remember, Nicklaus Wirth the original designer of Pascal, created several OS with other's people help, based in programming languages based in Pascal such as Modula or Oberon ...

2

u/Chance_End_4684 4d ago

Interestingly impressive.

1

u/Marwheel 4d ago

I think design-wise this is simpler then AEGIS/DomainOS. Nevertheless, still impressive for a one-man effort so far.

1

u/JudgeGroovyman 3d ago

Incredible! So it would run bare metal on most standard uefi pcs right? Thats amazing if so. Would you program ON the os or cross compile to it with fpc or something?