Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
×
Chromium Operating Systems

Otter Browser Aims To Bring Chromium To Decades-Old OS/2 Operating System (xda-developers.com) 54

"The OS/2 community is getting close to obtaining a modern browser on their platform," writes Slashdot reader martiniturbide. In an announcement article on Monday, president of the OS/2 Voice community, Roderick Klein, revealed that a public beta of the new Chromium-based Otter Browser will arrive "in the last week of February or the first week of March." XDA Developers reports: OS/2 was the operating system developed jointly by IBM and Microsoft in the late 1980s and early 1990s, with the intended goal of replacing all DOS and Windows-based systems. However, Microsoft decided to focus on Windows after the immense popularity of Windows 3.0 and 3.1, leaving IBM to continue development on its own. IBM eventually stopped working on OS/2 in 2001, but two other companies licensed the operating system to continue where IBM left off -- first eComStation, and more recently, ArcaOS.

BitWise Works GmbH and the Dutch OS/2 Voice foundation started work on Otter Browser in 2017, as it was becoming increasingly difficult to keep an updated version of Firefox available on OS/2 and ArcaOS. Firefox 49 ESR from 2016 is the latest version available, because that's around the time Mozilla started rewriting significant parts of Firefox with Rust code, and there's no Rust compiler for OS/2. Since then, the main focus has been porting Qt 5.0 to OS/2, which includes the QtWebEngine (based on Chromium). This effort also has the side effect of making more cross-platform ports possible in the future.

This discussion has been archived. No new comments can be posted.

Otter Browser Aims To Bring Chromium To Decades-Old OS/2 Operating System

Comments Filter:
  • So where's my port for Classic MacOS on PowerPC? Because that makes about as much sense as putting any effort at all into OS/2 in 2022.

    • Comment removed based on user account deletion
      • Otter has been ported to Risc OS, which also lacks pre-emptive multitasking, although I have no idea how the memory model compares to Mac OS. A port might be possible...

      • by dryeo ( 100693 )

        The weakness is shared memory, especially shared memory below 512MBs, which was all OS/2 client supported until version 4.5. There's still some 16 bit code which is limited to 1GB of address space.

    • by dryeo ( 100693 )

      Well pay for it, that's how the Otter port is being done. Besides, can you even purchase Classic MacOS and run it on close to modern hardware? OS/2 in the form of ArcaOS is currently for sale and the betas (not for sale yet) work quite well on most of the newest hardware as long as the framebuffer is in the lower 4GBs. UEFI, GPT partitions supported.
      Posted from Mozilla/5.0 (OS/2; Warp 4.5; rv:45.0) Gecko/20100101 Firefox/45.0 SeaMonkey/2.42.9esr

    • Re:Cool! (Score:4, Informative)

      by LostMyBeaver ( 1226054 ) on Thursday February 17, 2022 @12:02AM (#62275513)
      I think you probably were not asking legitimately and rather using Mac OS as an example.

      Mac OS Classic was a nightmare to write browsers for. Even with Carbon API in the later days, it more or less lacked any tools suitable for making it stable on the platform. There are a few things which really matter :
      - memory management.
      - threading

      Mac OS Classic had truly terrible memory management, possibly (but debatably) worse than Symbian which was truly a mess. As for threading, in later versions, it had a kinda sorta thing. Mac OS Classic was also a cesspool for security. Running a javascript JIT on the platform could actually never have been secure.

      OS/2 on the other hand is ... tolerable. The architecture was actually surprising well designed and thought out. With the exception of using Ring-1 for additional virtual memory protection which for security was a blessing but for coding could be a problem at times, it could have ended up being a really great alternative to unix.

      OS/2 suffered many crazy problems. And it seems they still suffer those problems. Lack of compiler developers. They had brief visits from different compiler makers. Every company seemed to dip their toes in the OS/2 waters, but no one ever really stuck around. And these days, a lack of a rust compiler means that no one has invested in implementing LLVM for the platform as Rust is kind of a freebie if LLVM has been ported.

      Now, just so you know, LLVM is one of the easiest compilers platforms to port. .NET is possible, but it's REALLY hard with a massive number of hooks. Mono is a little better, but it requires a lot of runtime work. And Java... it's a little funny, but Java is really easy to bring up on new platforms so long as the processor was already supported and even then writing a new JVM from scratch isn't particularly difficult. But LLVM is a LOT easier to port than Qt is.

      OS/2 has some interesting tools which makes porting software to the platform pretty easy. For example, they have a somewhat full Win32 porting layer (and Win64 is really just Win32 with addons). So, thanks to some great community efforts (I think the project was called Odin32 or something), you can port the vast majority of Windows programs to OS/2 with little effort.

      A true Qt port to OS/2 is also not that awful for certain aspects of it. Porting Qt has always been a little difficult. But if you place a little effort into first porting qmake and making a reasonable toolchain template for qmake then it's mostly a matter of having a somewhat modern C++ compiler to take care of the rest. Makefiles have always been a nightmare but due to Qt's really cross-platform design, they solved that problem better than most. So, then there's porting from Win32 to presentation manager. PM is actually very similar to Win32 with regards to SDKs. So, I think the main issue we're likely to see there is that OS/2 never ended up with a good series of native APIs for many things. Also, Qt can paint almost entirely in OpenGL and if you understand Qt, you realize that Qt paints pretty much all aspects of the GUI. So, that means it could be possible to get the majority of the platform running without worrying about PM except for the parent windows and the event handlers.

      Chromium is a strange beast though. I suppose this would be true for any modern browser. For optimal performance, there's the Javascript JIT which is going to be complicated to port to a new platform, but you can run it in a much slower interpreter mode which exists for debugging. So, disabling the JIT should be a single flag. Then there's the media platform. I haven't looked at Qt to see whether they use the Chromium media tools or the Qt ones in recent times. I'd almost imagine that since Qt has a pretty interesting pluggable media API, they could be using the Chromium one for everything now. That said, painting media is a trick. Rendering to OpenGL isn't difficult, but lipsync is. Which means audio is going to be a trick. I've never pe
      • by dryeo ( 100693 )

        WebRTC is planned, already have video camera support and audio (I think only the USB audio is suitable for WebRTC), the other audio is a port of Alsa, works pretty good for playback, needs extending for input and as Webcams are usually USB...
        As for compilers, OS/2 uses OMF as an object format, which LLVM doesn't support. With GCC, we convert the aout objects to OMF. Work is being done to fix the OpenWatcom linker to link ELF, works for plain C but hard for C++.
        No OpenGL (well old software based) so everythi

      • by madbrain ( 11432 )

        OS/2 audio can be decently fast. Lipsync was not an issue at all, between the DART and DIVE APIs, running on bare metal. On a VM, it's pretty hopeless, unfortunately.

        I love OS/2, and used it on my desktop from 1992 until 2007. I was one of its most fervent advocates. I do not think it has much of a use nowadays. It was great technology, way ahead of its time. Sadly, Microsoft won the desktop OS battle, but with much anti-competitive behavior. They should have been broken up, and likely would have been, if n

  • The OS2 community, does this mean both of them?

    • Could be OS3 soon if this new browser works!

      • I wonder about the specs of the average computer running OS/2 in 2022. Chromium is a real memory hog, requiring 8GB or more just to start, which makes it impractical to run on a 32bit platform (which OS/2 is).

        • by dryeo ( 100693 )

          Memory is the problem. Most users today do have lots of memory, which here means.
          Total physical memory: 12,169 MB
          Accessible to system: 3,241 MB
          Additional (PAE) memory: 8,928 MB
          Unluckily the PAE memory is only useful as a ram disk.
          The Simplebrowser example program runs OK with a limited number of tabs open but realistically the move to 64 bits is what will be the end of OS/2 eventually, at least as far as modern programs are concerned.

    • "The OS2 community, does this mean both of them?"

      There still are companies who use old Phone system running that, railways and such, who don't have the budget to replace 100.000 phones on a whim.

      • I just wonder what it has cost over the years to maintain these systems through the current vendors vs having just taken the plunge to VoIP 20 years ago.

  • I had no idea (Score:5, Insightful)

    by RitchCraft ( 6454710 ) on Wednesday February 16, 2022 @07:58PM (#62275071)
    That OS/2 lives on to this day. I purchased Warp back in '94 and was very happy with it. I wish IBM would not have dropped the ball on consumers though with their lack of driver availability. I would have kept using it if not for that.
    • by dryeo ( 100693 )

      Yea, even today there's very limited WiFi, no Bluetooth and such. There is support for most current sound, Ethernet, AHCI, NVME, USB3, Printing with CUPS, with UEFI and GPT in beta. Video is 2D, with VBE driver, mostly only working with ATI or Intel, including current.
      Best on a desktop as well as various laptop stuff doesn't work well.
      No Hyperthread support either as it is SMP, limited to 64 cores.

    • Purchased Warp? I remember a point where IBM reps at an event literally threw install CDs at the audience (I got three). A very good OS to, a shame it failed.
      • Yep, purchased, nice shiny box and all. I wish I still had it. I believe I sold it on eBay sometime around 2002. I'm a sucker for buying and trying operating systems. I have a boxed copy of Lindows laying around here somewhere!
    • It hasn't made sense to dick with OS/2 since Linux and the BSDs got good.

      • I used OS/2 up until Spring 1998. The writing on the wall had been very obvious for years, but I really wasn't interested in Windows. My first reaction after installing R5.1 was "What the heck am I getting myself into!" But a few weeks later, KDE 1 was released, and Linux started to become a very realistic alternative.
      • by Wolfrider ( 856 )

        ^^ This. I used Warp back in the day until putting a space before an REM statement in config.sys literally caused a boot fail. DOS handles this just fine. Really started getting into Linux after that.

        Warp's multitasking was ahead of its time for the era, and having access to REXX was nice if you were into mainframes like I was.

    • I was also a big OS/2 fan back in the day. I had Warp, loved it and there are facets of it I still miss (the Object Oriented file system, for instance). Oh how I wish it had not been abandoned by IBM back then. It would be so much better than the Windows we have now, I think.
  • Let me know when it is on FreeDOS.
    • by lsllll ( 830002 )
      Yes! If they could throw something like this [github.com] in there for images and video, then they have my 100% attention!
  • Comment removed (Score:5, Interesting)

    by account_deleted ( 4530225 ) on Wednesday February 16, 2022 @08:31PM (#62275163)
    Comment removed based on user account deletion
    • OS/2 actually lived on for a number of years after that, but it was only marketed to businesses. I forget what they renamed it, but it was effectively OS/2 Warp 5.

      But, like everyone else, I'm surprised there's still enough people using OS/2 to make this kind of effort. There are worse ways people could spend their time to be sure, but this seems like kind of a waste of time.

      • by bjhavard ( 28360 )

        OS/2 actually lived on for a number of years after that, but it was only marketed to businesses. I forget what they renamed it, but it was effectively OS/2 Warp 5.

        It was called "Warp Server for e-Business". Silly name but I still have a VM of it working on my Linux desktop.

      • by tlhIngan ( 30335 )

        OS/2 actually lived on for a number of years after that, but it was only marketed to businesses. I forget what they renamed it, but it was effectively OS/2 Warp 5.

        But, like everyone else, I'm surprised there's still enough people using OS/2 to make this kind of effort. There are worse ways people could spend their time to be sure, but this seems like kind of a waste of time.

        It's still supported today. It became eComStation for a while as a lightweight OS for internet appliances, and now it's still worked on

    • by dryeo ( 100693 )

      IBM was only licensed to use Windows up to version 4.0, Win95 was version 4.095. Also up till Warp V4.5 (earlier on Warp Server), OS/2 only supported a 1 GB (with half for the kernel) address space due to still having some 16bit code. Microsoft hard coded some DLL's to load above that in WIN32s 1.30 breaking things before Win95.
      It is still used here and there in enterprise, running railroads and such. The NY subway only migrated away in the last couple of years for example. Arca Noae seems to be making mone

      • Comment removed based on user account deletion
        • by dryeo ( 100693 )

          Yes, 30 years back when it was designed, it was a pretty solid design. The story is that 49 odd days after release, IBM was inundated with support calls, due to so many systems being up since release and a system time roll over bug.
          There's still machines chugging away in closets and such, as long as memory don't leak, it just ran on and on until the hardware fails.
          Even now, Arca Noae seems to be making money selling it, and they must have enough commercial customers as there aren't that many hobbyists left

        • by tlhIngan ( 30335 )

          A testament to superior design - even after all MicroSoft could do to extinguish OS/2, there were more than a few places for it. There were some software products for OS/2 (including, no doubt, numerous "homegrown" ones) which have become legacy because it would be too difficult or too expensive to fix something that ain't broke.

          The design was excellent. It was a modern OS (protected memory, pre-emptive multitasking) that was 32-bit, but could handle 16-bit driver with aplomb.

          Windows 95 got real cranky real

    • by G00F ( 241765 )

      To add to that, I remember IBM starting to market OS/2, even on TV, till they got hit/threatened with lawsuits. Then they they just placed OS/2 on the back burner for many years.

      Still got my OS/2 warp box around here somewhere. Came with a microphone where I could say open netscape.

      I remember playing Doom 2 and hexen in windows side by side in "realtime" on my 486 dx 100mhz 8mb ram. But it was a lot more work to make a lot of things just work IIRC.

    • Decades ago I worked with someone who was at the status meeting where Microsoft gave IBM the shaft. Up until then, there was that partnership. IBM presented first, and then the Microsoft rep came up and presented their status. The IBMer's realized the implications of Microsoft's status, effectively ending the partnership, while the Microsofties present were smiling giddily.

  • Maybe my dream of a video editing platform that runs on CP/M will come true!

  • Now if they'll only release Doom II for it, it'll be complete.
  • There's no Rust compiler for OS//2? Maybe that's the first problem they should address. How hard would it be to port a frontend that compiles the Rust code to C?

    • by butlerm ( 3112 )

      There is not likely to be any major difference between a Rust compiler that targets x86 on Windows and one that targets x86 on OS/2.

      • by dryeo ( 100693 )

        The object format is the big difference, OS/2 still uses OMF.

        • by butlerm ( 3112 )

          I imagine generating Linear (LX format) executables for OS/2 might be an equally significant problem.

          • by dryeo ( 100693 )

            Not really. Even the ancient LD (GPL v1 with RMS as principal author) that comes with our GCC can bind a LX header to an aout binary and it'll run, likewise it can do some magic and make a working DLL.
            In practice the way it works with GCC (currently 9.2.0) is you get aout object files output which are turned into OMF object files by emxomf then the flags massaged by emxomfld to use the system linker, which now a days is the Open Watcom linker, wlink, which we have the source for and needed due to the IBM li

    • Re:No compiler? (Score:5, Informative)

      by martiniturbide ( 1203660 ) on Wednesday February 16, 2022 @09:46PM (#62275317) Homepage Journal
      We had been told that is very hard to get Rust ported since OS/2 is 32bits only.
    • by dryeo ( 100693 )

      Need to port LLVM first, then there's the problem of linking with about a 3.5GB address space.
      Shit our GCC 9.2.0 still outputs aout which is then converted to OMF32

  • Because that thing runs on about anything if you can compile it.

  • Where's my IRIX port ?
  • I like how there's a time Warp story adjacent to the OS/2 story, and also that these nerds are making a stand. I'm not persuaded by their passion but it's wonderful to see.

  • ... has a news alert for "otter", lol
  • my BeBox could finally get a usable browser?

You know you've landed gear-up when it takes full power to taxi.

Working...