News for hackers. Stuff that matters.
Re:FreeOberon cross-platform Oberon language IDE by Qem on Sunday November 12, 2023 @10:32AM (#38241010)
How does FreeOberon compare to FreePascal, in terms of standard library and third party libraries available? Is it a practical development environment, in the sense of not needing to reinvent every wheel to use it?
Re:FreeOberon cross-platform Oberon language IDE by anta40 on Sunday November 12, 2023 @10:47AM (#38241158)
https://free.oberon.org/docs/en/

On a glance it looks pretty limited, I see no way to access OS API, no networking, etc (more or less like Turbo Pascal).

Perhaps sufficient as educational tool.

Re:FreeOberon cross-platform Oberon language IDE by hnlmorg on Sunday November 12, 2023 @11:15AM (#38241451)
Syscalls were the OS APIs back in the Turbo Pascal days. DOS didn’t have an SDK like we now expect. But people still pulled off some pretty sophisticated stuff in Pascal (personally, I wrote a DOS GUI frontend (like pre-Win 3.x) in Turbo Pascal)
Re:FreeOberon cross-platform Oberon language IDE by anta40 on Sunday November 12, 2023 @11:38AM (#38241693)
Ah, I still remember those DOS interrupts :)

And of course, modern Pascal compiler like FPC provides OS specific units to do that.

Re:FreeOberon cross-platform Oberon language IDE by benj111 on Sunday November 12, 2023 @01:14PM (#38242647)
int 0x80 was/is the x86_32 way of doing syscalls in linux.

im not sure if sysenter, used on 64bit systems is classed as an interrupt.

the sdk is just a layer on top of that.

ive never used c on dos, it woukdnt surprise me if they used a similar library to linux. theres certainly nothing preventing it.

Re:FreeOberon cross-platform Oberon language IDE by mikewarot on Sunday November 12, 2023 @06:36PM (#38245261)
MS-DOS used Int 21h with the function number in in the AH register.
Re:FreeOberon cross-platform Oberon language IDE by fostware on Sunday November 12, 2023 @09:48PM (#38246329)
Damn, I miss the days Turbo Pascal was used for business logic, and the grunt work was TASM blocks and syscalls.

Actually, that might just be the nostalgia talking.

Re:FreeOberon cross-platform Oberon language IDE by the_only_law on Sunday November 12, 2023 @09:11PM (#38246117)
> Perhaps sufficient as educational tool.

Has Oberon ever been a thing outside academia? I’ve heard about some Modula2/3 stuff out there in the wild, but not Oberon.

Re:FreeOberon cross-platform Oberon language IDE by anta40 on Sunday November 12, 2023 @11:18PM (#38246852)
From a quick Google search: "Oberon includes low-level features that make it particularly suited to the development of real-time applications on ARM microcontrollers." https://www.astrobe.com/Oberon.htm

https://www.astrobe.com/order.htm

Ah, very interesting.

Re:FreeOberon cross-platform Oberon language IDE by pjmlp on Monday November 13, 2023 @02:38AM (#38247896)
Yes, when I was at CERN almost 20 years ago, Niklaus Wirth did a session on Oberon for scientific computing, and as part of that Oberon day, there was someone from Brasil talking about their use in production, controlling some hardware stuff.

Additionally Astrobe sells Oberon-07 compilers for IoT (https://www.astrobe.com/order.htm), for a while XDS also sold Oberon compilers alongside their Modula-2 compilers, and there was a spin-off from ETHZ which sold Component Pascal, basically yet another Oberon dialect.

Re:FreeOberon cross-platform Oberon language IDE by WojtekSkulski on Tuesday November 14, 2023 @01:14PM (#38267162)
Check out Component Pascal Collection. Download free BlackBox Component Builder from there, as well as amazing scientific software written in that language. Includes graphics, math, algebra, simulations, etc. Some of that stuff (Chill by Robert Campbell) was developed at BAE Systems for flying jet planes. Not just cool. It is heavy duty production stuff. And free. http://www.zinnamturm.eu/downloads.htm
Re:FreeOberon cross-platform Oberon language IDE by augustk on Monday November 13, 2023 @03:39PM (#38255070)
I think it's due to a lack of freestanding compilers when the project was launched. People expected a new programming language from Niklaus Wirth but what they got was a language and an operating system, the latter which was too different from any mainstream system.

Studying and using this relatively low-level (but safe!) minimalist language which is not inspired by C has given me quite a few new insights.

https://miasap.se/obnc/oberon-report.html

https://miasap.se/obnc

Re:FreeOberon cross-platform Oberon language IDE by kekc_leader on Tuesday November 14, 2023 @09:00PM (#38272456)
Oberon is used in microcontroller programming, medical device programming, railways in Switzerland use Oberon, atomic power station in Rostov (Russia) use it, a power station in Kaliningrad also uses Oberon.
Re:FreeOberon cross-platform Oberon language IDE by kekc_leader on Tuesday November 14, 2023 @08:35PM (#38272285)
You can access the WinAPI, network etc. etc. (also you have the platform abstraction level) using modules that are not documented, but are available in source in the Free Oberon directory. See Data/bin/OfrontPlus/Mod/Lib. Please let me know what module you need and I can add it into the documentation.
Re:FreeOberon cross-platform Oberon language IDE by kekc_leader on Tuesday November 14, 2023 @09:02PM (#38272472)
Free Oberon is used as educational tool (since 2016).

I also use it in production code for web-development. It serves as a backend for a high-load interactive website (langauge courses with exercises).

Re:FreeOberon cross-platform Oberon language IDE by dengolius on Monday November 13, 2023 @12:43AM (#38247359)
It is better to not use any software from russia now anyway.