Become a fan of Slashdot on Facebook


Forgot your password?
For the out-of-band Slashdot experience (mostly headlines), follow us on Twitter, or Facebook. ×

Comment: Re: Functional languages? (Score 1) 382 382

Rust can't be used to build a kernel because you can't handle OOM reliably.

From context I'm getting that's Out Of Memory. I don't know much about Rust; but what you're describing sounds more like a problem with the current implementation rather than the language itself... unless the developers painted themselves into a corner by specifying that allocation failure must panic and can't return something like a NULL.

Comment: Re:Functional languages? (Score 1) 382 382

Me, personally? I wouldn't want to do anything you describe. I'm wagering Linus doesn't either. The question was if he was *interested* in these new languages. Laying that aside now, what you're describing might be easier with Clang. That leads (heheh) to another question, and a quick googling seems to indicate that the kernel can't be built with Clang yet...

Comment: Re:Functional languages? (Score 2) 382 382

This is close enough to the question I had in mind that I've decided to comment on this thread instead. My question would have been phrased as: Do you ever see yourself wanting to do kernel programming in something other than C and assembly?

Particularly I'm wondering if he has any interest in Rust or Go, since they are actually targeting themselves at lower levels. I doubt he'd want to put Haskell in the kernel; whereas he might have different opinions about it outside that domain. Of course hopefully he'll answer so we won't have to speculate.

Comment: One of many big lies (Score 1) 937 937

One of many big lies that politicians tell is "we want more affordable housing". Nonsense. Whenever we get affordable housing, everybody panics. That's what 2008 was--a very brief spate of affordable housing, and as soon as we got it, almost everybody was in a tizzy.

Why? Leverage.

Very few can buy a house for cash. Most of them are financed. By their very nature, such purchases are financially damaging to you unless the asset you finance goes up. The damage is usually bearable for smaller items such as a car, or appliances. It's too much to bear for a house, which became the overweight item in most middle-class investment portfolios.

So. We encouraged most of the country to have an investment strategy that could be summed up as "overweight leveraged real estate" and this is the natural result--everybody wants housing to keep going up in price.

Furthermore, governments rely on property tax revenue which is... proportional to assessed value. The government wants housing to go up too. Then the people that run the show have the gall to say, "we're going to create affordable housing". Nonsense.

What they call "affordable housing" usually requires you to be in some kind of welfare program to qualify. Being on welfare is, in some sense, actually a high price to pay for housing.

Another thing they called "affordable housing" was the shoddy loans that caused the 2008 crisis. Once again, that's not affordable housing. It's affordable *credit*, ie, cheap money, used to buy expensive housing.

REITs are one way for people to buy real estate without having an over-weight portfolio. They're still leveraged though, because it's too difficult to make money in this system without leverage. It's like an arms race. If we took the leverage out, it might be possible to run the system using non-leveraged REITs. You'd put a significant portion of your savings in a non-leveraged REIT. Instead of earning interest, you'd earn dividends. The possibility of the REIT going to zero wouldn't be there like it is with today's leveraged REITs. In other words, we could make housing something like a regulated utility.

Needless to say, this is a huge leap and I've been made fun of for suggesting it before. Debt finance is very, Very, VERY entrenched in this market. It'd be revolutionary to do it any other way.

Comment: Re:CJK is Unicode's big failing (Score 0) 164 164

Unicode trips up shitty programmers. It sounds a little more like it was one of those "out of your league" problems. Probably best to say away from CJK contracts tho. I've shipped shitloads of software with CJK localizations, and frankly, from that word soup you've produced, I don't think you have any idea what you're talking about.

Comment: Re:Infinity (Score 1) 1067 1067

This is a little like saying it would be handy if the compiler knew what you meant when you wrote code that attemtped to do soemthing for which there is no specifically well defined answer. While you may know what default you want, it's not going to the the right default for another programmer. Hell, usually it's not going to be the right default for some other place in your code where you're allowing your software to try and divide a value by zero.

In theory, you could make a compiler that does something, but it's not a good idea because it would involve some set of programming being satisfied 'with the default' and many others now stuck with possible bugs because their software doesn't crash when it tries and does something mathematically undefined.

Torque is cheap.