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

 



Forgot your password?
typodupeerror
Trust the World's Fastest VPN with Your Internet Security & Freedom - A Lifetime Subscription of PureVPN at 88% off. Also, Slashdot's Facebook page has a chat bot now. Message it for stories and more. ×

Comment Re:written in Go (Score 1) 53

Given Go is a mainstream language without anything unusual about it, and given that's pretty much well known, I'd say most programmers wouldn't consider it a barrier. The programmers that do? Probably the people who aren't going to contribute to an open source project in the first place.

Why do I say this? Well, because you either love programming or you don't. If you do, then yes, open source is interesting to you, and no, you're not going to be put off by having to use a language you're only 90% familiar with (because, like I said, for non-LISP/Prolog/etc programming languages, you're already 90% familiar with them), you'll consider that a feature, not a bug.

What might put a programmer off contributing to a project because of the language is if the language is unpleasant or a chore to use, not if the language is not something they've used before. But Go isn't that either.

I'm a developer too. I've been in this profession for nearly 25 years, and been programming since I was 10 years old. If something can be modified and the source is available, I tend to play with it, regardless of the language. I really suspect most of us are the same way. Those who aren't... well, do you think they're really interested in open source?

Comment Re:the laws may take 3-5 years to get rid of drive (Score 2) 106

Quite, the same thing happened when they started to introduce human driven motor vehicles in place of the horse powered vehicles in the late 19th Century. A few lawsuits later, and nobody wanted to drive cars any more because of the risk. That's why we're stuck with horse and buggies in 2017, and nobody has gasoline or electrically powered motor vehicles.

(The concept you're looking for is "Insurance".)

Comment Re:written in Go (Score 2) 53

I don't think real developers care. As long as it's not written in LISP or some other language that's radically different from normal paradigms, and as long as the development environment is just a matter of checking some options in their favorite IDE, most programmers will be entirely happy.

You grossly underestimate the ability of decent programmers to switch from language to language. What we care about is not whether a language is rarely used, but whether it can do what we need it to easily and quickly - and whether the libraries are easily googlelable of course.

Go is a mainstream language, if a little basic. It's fine. That won't be the problem.

Comment Re:will probably take off with next gen hardware (Score 1) 139

Hololens is not VR

Indeed. AR doesn't seem to trigger the same motion sickness responses as VR, because you retain all of the visual cues from the real world.

Microsoft is once again creating a product that nobody will use.

Microsoft has created a technology that anyone can use without feeling motion sick, but you think that it will lose in the marketplace to one that about 80% of people can use without feeling motion sick? That's an interesting perspective.

Comment Re:It's just too expensive for the hardware (Score 1) 139

It's not so clear with 3D. It's something of a misnomer to call current displays 2D and this kind of VR interface 3D. Both provide a subset of the dozen or so cues that the human brain uses to turn inputs into a 3D mental model. They both, for example, manage occlusion and distance blurring, but neither manages (yet) to correctly adjust the focal depth of parts of the image that are further away. Motion sickness is caused by disagreements between some of these cues and between the other cues that you use to build your mental model of the world. VR adjusts the image based on your head position (though latency here can cause problems as the visual signal and the inner ear signal come at different times), but it turns out that humans have a very strong notion of body image, so if they don't correctly track your arm positions and update them in the game then this causes nausea in a lot of people.

Unfortunately for the 3D film and game industry, it's not the case that simply adding more cues reduces the risk of motion sickness. It turns out that a third-person perspective on a 2D display is one of the minima for the percentage of the population to experience motion sickness. Move to first person, and this gets worse, though it's still a tiny percentage (some people can't play FPS games for more than a few minutes without feeling sick). Add a few more visual cues and you get a lot more people feeling sick. There's obviously a minimum when you get all of the cues right, because otherwise people would spend their entire lives experiencing motion sickness, but so far none of the mainstream 3D systems have found another point that's close to the 2D display. If you're going to develop a first-person game, and you can either develop it for a technology that 99% of humans can use without feeling sick, or spending more money to develop it for a technology that 80% can use, which would you do?

Comment Re:Oh please (Score 2) 196

The type of "hello world" is const char *, so your compiler should warn that you're dropping the const in an implicit cast (and if you're a sensible person and compile with -Werror, then your compiler will reject the code). You can get the behaviour that you want with:

const char s[] = "hello world";

This will copy the contents of the string literal into a mutable array. If you write this at the global scope, the copy will be done at compile time, so you'll end up with the string in the data section, not the rodata section (if you do it in a variable with automatic storage, you'll get a copy every time the variable comes into scope). Putting constant strings in the rodata section is important for optimisation, because it allows them to be coalesced. If you write "hello world" in two place, then you'll end up with a single string in the rodata section. With some linkers, if you also write "world" somewhere else, then you'll just get two pointers into the same string (this is also one of the reasons that C uses null-terminated strings: you can't do this with Pascal strings, and it saved a useful amount of memory on the PDP-11). Once you're sharing the string, it becomes a really bad idea to allow someone to modify it, because that modification will then become visible in a different bit of code.

Slashdot Top Deals

We are Microsoft. Unix is irrelevant. Openness is futile. Prepare to be assimilated.

Working...