News for hackers. Stuff that matters.
Re:Can MIPS Leapfrog RISC-V? by growlist on Friday March 22, 2019 @05:55AM (#19460931)
I'd really like to some new OS efforts to go along with new chips. Does it really have to be *nix on everything?
Re:Can MIPS Leapfrog RISC-V? by TickleSteve on Friday March 22, 2019 @08:08AM (#19461734)
Not everything requires a browser...

The main use-case for these devices is in embedded-applications, for which there are many other operating systems (FreeRTOS and the like).

What you're not going to find is any real desktop-OS support (other than Linux). Its been a while since MIPS had any presence on the desktop. (i.e SGI).

Re:Can MIPS Leapfrog RISC-V? by trasz on Friday March 22, 2019 @08:22AM (#19461829)
FWIW, FreeBSD runs on MIPS just fine.
Re:Can MIPS Leapfrog RISC-V? by pjc50 on Friday March 22, 2019 @05:59AM (#19460947)
If it can't run a browser, adoption is going to be crippled, and porting a browser to a new OS is a much bigger project than writing your own OS.
Re:Can MIPS Leapfrog RISC-V? by AnIdiotOnTheNet on Friday March 22, 2019 @07:54AM (#19461652)
Such defeatism is why we have to put up with clunky 50 year old abstractions and the over-complicated "ecosystem" of webshit we built on top of them.
Re:Can MIPS Leapfrog RISC-V? by pjc50 on Friday March 22, 2019 @08:47AM (#19462009)
(firstly, this is kind of off topic, since OS design is usually orthogonal to processor architecture, unless you've got something really funky going on)

Acknowledging the huge amount of work that needs to be done for an alternative to be adopted is not defeatism, it's realism. There have been plenty of minority, research, or experimental operating systems over the past few decades. Hardly any of them persisted, because it's a very Darwinian winner-take-all market.

Re:Can MIPS Leapfrog RISC-V? by pdimitar on Friday March 22, 2019 @09:34AM (#19462347)
> Acknowledging the huge amount of work that needs to be done for an alternative to be adopted is not defeatism, it's realism.

IMO this is bit of a "the chicken or the egg came first?" problem.

The industry had a lot of needs in terms of computing when computers started becoming physically small. The very first few things -- OS, any tech paradigmae, chip designs, shell architecture and what-have-you -- that seemed to do the job good enough got 99.9% of investments and mindshare and thus even if everything we currently use is ugly and barely working, there's no economic interest to revisit the other competing standards from the dawn of computing and see if there are golden geese hidden in there somewhere.

So when a carpenter tells you "I need a natural wood and screws because that's what works best" you really should be reading that as: "nobody tried to invent better materials and joinery techniques or tooling so I'll stick to what I know".

"Good enough" is not a slogan to follow.

Re:Can MIPS Leapfrog RISC-V? by snazz on Friday March 22, 2019 @11:53AM (#19463741)
I really want to see an introspective, single-user, programming-centric, graphical operating system that isn’t dumbed down to the lowest common denominator. A new ISA seems like a great opportunity to ditch the current models of computing for something more Genera-esque, since we now can produce commodity hardware that is powerful enough to achieve good performance at reasonable prices.
Re:Can MIPS Leapfrog RISC-V? by AnIdiotOnTheNet on Friday March 22, 2019 @12:10PM (#19463926)
You and me both. I want something I can actually feel like I'm in control of because it not only respects me as a user but also is built on simple metaphors that map well to reality, allowing me to actually understand how it works without untangling a horrible spaghetti mess of legacy systems patched together with spit and rubberbands. Something meant to help me make my life better instead of making someone else a bunch of money making me miserable.

Sadly, I'm not aware of anybody working on such a project. Most people making "OS"s these days either just make yet-another-linux-distribution and confirm that old saying about the definition of insanity, or they're content to make some completely academic kernel that no one can use for anything but academic purposes. I wish I had the skills to start one myself.

Re:Can MIPS Leapfrog RISC-V? by snazz on Friday March 22, 2019 @12:21PM (#19464052)
How useful would a full-screen GUI application that runs on existing operating systems be? That way eliminates dealing with device drivers or building custom hardware.

The Lisp-all-the-way-down part doesn’t seem as useful as it was originally. You could get 80% of the functionality with 10% of the work of a full OS.

Re:Can MIPS Leapfrog RISC-V? by AnIdiotOnTheNet on Friday March 22, 2019 @12:46PM (#19464321)
Part of the problem with that approach is that you're still reliant on the host OS and have just pasted a new layer of abstraction over the old one. Kinda like the web. You haven't really fixed any of the problems of the underlying platform, while at the same time you've added complexity and bloat.

I think there is, perhaps, value in a middle ground. You could take the Linux kernel (chosen here for its existing driver support, openness, stable syscall ABI, and presence of virtualization and namespacing features), but throw away basically everything on top of it and build a new "operating environment". Then, over time, you could fork the kernel away, ditching legacy syscalls and features, maybe creating a stable driver ABI finally, etc.

Re:Can MIPS Leapfrog RISC-V? by CharlesColeman on Friday March 22, 2019 @01:55PM (#19465055)
> The Lisp-all-the-way-down part doesn’t seem as useful as it was originally. You could get 80% of the functionality with 10% of the work of a full OS.

You're missing the point. If the only goal was "functionality," a quick-and-dirty hack on top of existing systems would suffice.

However, the GP wants a system that's reasonably comprehensible all the way down, so he can have some confidence that it's not working against him in some way. The accidental complexity of decades of legacy software works strongly against that.

Re:Can MIPS Leapfrog RISC-V? by snazz on Friday March 22, 2019 @02:35PM (#19465519)
I completely agree with you, which is why my highest-level comment in this thread suggested using a new ISA, too. However, for practical reasons, it would be a ton of work to design and build hardware and a complete operating system. That’s the holy grail, of course, but it’s going to be hard to achieve without a large company backing it up.
Re:Can MIPS Leapfrog RISC-V? by pdimitar on Friday March 22, 2019 @02:09PM (#19465210)
> I really want to see an introspective, single-user, programming-centric, graphical operating system that isn’t dumbed down to the lowest common denominator.

Hit the nail on the head.

Things are impossibly complex and convoluted nowadays. And working against us more often than not -- as you said.

It feels like we really need to start over. All the way down to the CPU and GPU hardware architecture.

Re:Can MIPS Leapfrog RISC-V? by O_H_E on Saturday March 23, 2019 @12:18AM (#19469043)
Take a look at plan9 and haikuOS. O am not implying that this is a solved problem, just intriguing projects.
Re:Can MIPS Leapfrog RISC-V? by CharlesColeman on Friday March 22, 2019 @01:49PM (#19464981)
> Acknowledging the huge amount of work that needs to be done for an alternative to be adopted is not defeatism, it's realism.

Realism is often just a mask over defeatism.

Re:Can MIPS Leapfrog RISC-V? by imtringued on Friday March 22, 2019 @11:16AM (#19463335)
Unless you are using programming languages that are native to the platform (which also happen to be clunky and 50 year old) you never have to deal with those 50 year old abstractions.
Re:Can MIPS Leapfrog RISC-V? by mcbain on Friday March 22, 2019 @06:26AM (#19461109)
These chips aren’t going to be running browsers in the near future, unless you mean in a TV (one of the last places you could find MIPS).

The market they are headed for is embedded, where every cent of the BOM counts. Licensing costs can add up surprisingly fast as part of that.

Server parts are a big step above that - MIPS used to play there, but after a short peak they failed many times over. It tried in the networking and embedded space for a while, but then had its lunch stolen by all the cheap ARM vendors from below, and stomped on by x86 from above.

And then desktop/laptop parts? Unless you are Apple (and even then), pushing a new arch on the desktop is a massive, expensive task, and I can’t see it being worthwhile.

Re:Can MIPS Leapfrog RISC-V? by phkahler on Friday March 22, 2019 @08:23AM (#19461832)
>> The market they are headed for is embedded...

Are you sure? RISC-V is about to explode in the embedded space. I always ask our suppliers about their RISC-V plans and it's shifted over the last 3 years. They've gone from "what's that?" to the point where they are all aware, some are hedging, and some are going full tilt but not quite at the stage of "here are our offerings". Anyone who is not currently a MIPS user (chip maker) in this space is years behind.

Re:Can MIPS Leapfrog RISC-V? by snaky on Friday March 22, 2019 @09:22AM (#19462255)
> Anyone who is not currently a MIPS user (chip maker) in this space is years behind.

RISC-V user?

Re:Can MIPS Leapfrog RISC-V? by saagarjha on Friday March 22, 2019 @06:22AM (#19461087)
Or, in general, getting code to run on it at all. Almost every OS that hasn’t offered C (and arguably some sort of POSIX) has floundered without gaining traction.
Re:Can MIPS Leapfrog RISC-V? by ken on Friday March 22, 2019 @08:52AM (#19462044)
Almost every OS that has offered C and POSIX has floundered without getting traction, too.

The number of operating systems that have succeeded in any real way is tiny, and probably not big enough to draw any conclusions from. None of the major players today got to where they are now by following the conventional wisdom of their day. I assume the next big OS (or three) will similarly succeed by breaking all the rules we thought we knew.

Re:Can MIPS Leapfrog RISC-V? by monocasa on Friday March 22, 2019 @07:13AM (#19461400)
Webkit is pretty portable.
Re:Can MIPS Leapfrog RISC-V? by rootbear on Friday March 22, 2019 @09:31AM (#19462330)
It would be nice if the owners of IRIX (whomever that is now) would release it as open source, so we could run it on our open source MIPS system. I miss my old Octane.
Re:Can MIPS Leapfrog RISC-V? by lallysingh on Friday March 22, 2019 @10:15AM (#19462681)
Re:Can MIPS Leapfrog RISC-V? by convolvatron on Friday March 22, 2019 @09:14AM (#19462192)
there's not that much OS dependence on chips unless you want to build it on segments and/or capabilities...there are viable ways to fake those. maybe if there were a novel form of parallelism?

i agree with you that we can do better, but as other people have commented, that wound is pretty much healed over.

integrated distributed management, process migration, and radically simplified OS state might put some devops people out of a job..but the industry doesnt like to take hops that large. the configuration and deployment hodgepodge is 'good enough'

did you have some specific ideas you think would be interested enough to drive adoption?

Re:Can MIPS Leapfrog RISC-V? by growlist on Saturday March 23, 2019 @10:20AM (#19470534)
No ideas in particular, I just fondly remember for example the responsiveness of the Amiga - PCs still don't seem to be as solid clock-wise, and when you get into running apps in a browser it seems like the multiple layers of abstraction are really obvious. And that's just on a desktop - Android is even worse! A pretty horrible laggy UI, and once you get into the horrific disaster that is Android development the underlying cause kind of reveals itself.

Imagine the tightness of a mobile OS running close to the metal and how responsive that device could feel. You used to be able to switch on a device and the OS would immediately be there - indeed embedded devices are often still like this.

Perhaps I'm just being too nostalgic though, and I realise Amiga OS was missing essential things like memory protection etc. that we now take for granted.

Re:Can MIPS Leapfrog RISC-V? by imtringued on Friday March 22, 2019 @11:17AM (#19463354)
Isn't that basically what kubernetes is supposed to solve? I will admit my attempts to use it have been unsuccessful but the point still stands: There is no need for a completely new operating system.
Re:Can MIPS Leapfrog RISC-V? by convolvatron on Friday March 22, 2019 @01:54PM (#19465041)
we totally agree. i think things could be alot better. but even though I have alot of big ideas nothing seems to justify someone adopting such a thing. even completely ignoring the cost of building and testing it.

maybe some foundational advance in real security. better abstractions and performance aren't enough.

Re:Can MIPS Leapfrog RISC-V? by aidenn0 on Friday March 22, 2019 @02:30PM (#19465479)