×

Announcing: Slashdot Deals - Explore geek apps, games, gadgets and more. (what is this?)

Thank you!

We are sorry to see you leave - Beta is different and we value the time you took to try it out. Before you decide to go, please take a look at some value-adds for Beta and learn more about it. Thank you for reading Slashdot, and for making the site better!

Comments

top

How Relevant is C in 2014?

Thiez Re:Rust (641 comments)

The Rust language is intended to reach version 1.0 soon (either before the end of the year or early 2015), which comes with the promise of being backwards compatible. However the Rust standard library is still undergoing stabilization and parts of it may still change for a while. Right now a lot of work is being done in that area, to stabilize the most important bits.

Mozilla is also working on Servo, a research-project to develop a browser engine in Rust. The goal is to experiment with more parallelization in the browser, and Rust is supposed to help by making it easier to write correct multithreaded code. To do this Rust has a strong focus on ownership of data.

Rust can run without a runtime and the standard library is split up into several parts (which is not invisible to users of the standard library) that can be used separately when you choose to compile without the standard library. The advantage is that when you target, say, a platform that does not support dynamic memory allocation, you can still use the parts of the standard library that do not require allocation (liballoc). Or you can go without libc bindings. So it is relatively easy to run Rust on bare metal. You could write an operating system in Rust if you wanted to (and I think some people are trying to do just that, but I haven't heard from them for a while).

about two weeks ago
top

How Relevant is C in 2014?

Thiez Re:Low Level System Software (641 comments)

C is great for low level stuff since it is capable of generating machine code that has zero dependencies. K&R even explicitly mentions "non hosted mode" with no libc and implementation defined entrypoint semantics. In fact, it is the only language in mainstream use today that has this feature (aside from assembly.)

I very much doubt that is true. For instance, I think Rust can also make that claim.

about two weeks ago
top

How Relevant is C in 2014?

Thiez Re:Si. (641 comments)

Said the Anonymous Coward...

about two weeks ago
top

French Publishers Prepare Lawsuit Against Adblock Plus

Thiez Re:Extortion (698 comments)

Well someone has to make sure that the ads are actually unintrusive. Should the people from ABP do that for free, or should we take the advertisers word for it?

about two weeks ago
top

New Book Argues Automation Is Making Software Developers Less Capable

Thiez Re:And Self-Actualization is not the goal. (212 comments)

Also, memory protection creates lazy programmers. If you have to reboot every time you screw up you will quickly learn to screw up a lot less.

So what's it like programming on DOS in 2014?

about a month ago
top

College Students: Want To Earn More? Take a COBOL Class

Thiez Re:Weeding Out (270 comments)

Your statement is shit. "Some guy I knew a long time ago once used threads for some unspecified purpose and when he got to thousands of threads it become very slow". Well that is just great. What was he trying to do? How was he trying to do it? You act like your anecdote proves something but without this information it contributes nothing to what could have been an interesting discussion.

Since the discussion was originally about COBOL, are you suggesting that language is more suited to massive multithreading than Java? If so, why? And if you truly need thousands of threads, perhaps you need Erlang?

about 3 months ago
top

College Students: Want To Earn More? Take a COBOL Class

Thiez Re:Weeding Out (270 comments)

Are you seriously suggesting COBOL is more suitable for massive multi-threading than Java?

about 3 months ago
top

Google Wants To Test Driverless Cars In a Simulation

Thiez Re:Simulations are limited by imagination (173 comments)

Irrelevant, an actual testdrive is also not going to cover all possible scenarios, and appears to be sufficient at this time. Remember, perfect is the enemey of good.

about 4 months ago
top

Suddenly Visible: Illicit Drugs As Part of Silicon Valley Culture

Thiez Re:The only good thing (511 comments)

Someone who deliberately cuts off their own legs with a chainsaw don't get sympathy. So why should addicts?

I imagine someone who would do that on purpose must be suffering from some serious mental problem, or must have been blackmailed or under some kind of duress. Certainly they do deserve sympathy and help.

about 5 months ago
top

The View From Inside A Fireworks Show

Thiez Re:Illegal and Dangerous? (200 comments)

If it flies at approximately the same height as where the fireworks explode, how would that happen?

about 5 months ago
top

Overeager Compilers Can Open Security Holes In Your Code

Thiez Re:Functionally correct, but insecure (199 comments)

Volatile tells the compiler it may not eliminate or introduce reads and writes to a variable that did not exist in the source code. They also cannot be reordered with respect to other volatile variables.

about 6 months ago
top

Overeager Compilers Can Open Security Holes In Your Code

Thiez Re:Old news (199 comments)

What "undefined" means here for most compilers is that it will make the best attempt it can under the C rules but the results may vary on different machines. Ie, it will use the underlying machine code for adding two registers, which may wrap around or possibly saturate instead, and the machine may not even be using tw's complement.

No, that would be implementation defined behavior.

about 6 months ago
top

Human Blood Substitute Could Help Meet Donor Blood Shortfall

Thiez Re:Let gay men donate (172 comments)

While one might argue that forbidding them from donating is unfair, or has a basis in incorrect assumptions, let us not pretend that allowing gay men to donate blood would make a significant difference if a shortage exists. What percentage of the population is a homosexual male? Perhaps 3%?

about 6 months ago
top

Frigid Brown Dwarf Found Only 7.2 Light-Years Away

Thiez Re:So this is Planet X? (142 comments)

Since the sun gets about 10% brighter every billion years we'll be dead long before either of those things happen.

about 8 months ago
top

First Outdoor Flocks of Autonomous Flying Robots

Thiez Re:Nails, wires or anything that can swat them (84 comments)

Any flock of flying robots, autonomous or not, over my head or my property will encounter bags of nails, wires and other terrible obstacles designed to swat them.

Remember kids, what goes up must come down... in unrelated news, people who oppose drones can be recognized by the nails, wires, and other 'terrible obstacles' that embedded in their face.

about 10 months ago
top

MenuetOS, an OS Written Entirely In Assembly Language, Inches Towards 1.0

Thiez Re:The only Secure OS.. (372 comments)

Not this compiler-inserted backdoor crap again... Look, an assembler could insert a backdoor as well. And any of the developers could insert a backdoor. Did you read the entire source code? Even if you did, do you think you could find a cleverly hidden backdoor?

Besides, all you need to do to get rid of the hidden compiler backdoor (assuming there is one) is write your own compiler, use it to compile the suspected compiler, then use the generated compiler to compile itself, and presto, the backdoor is gone. Writing an interpreter instead of a compiler is also an option. Since you only need to do this whole process once, your compiler doesn't need to do any smart optimization and it's acceptable for the whole process to take some time (a week? a month? who cares).

about a year ago
top

Google Releases Raspberry Pi Web Dev Teaching Tool

Thiez Re:mixing software and hardware development? (68 comments)

Most kids are going to have access to a normal computer anyway, which would include a monitor, keyboard, and mouse. They can use ssh access or some kind of remote desktop to control their RasPi. No extra support hardware required, apart from a power supply, a sd card (they're dirt cheap) and a UTP cable to connect it to a switch/router. Your 'well past $200' estimate is completely ridiculous.

about a year ago
top

Using Java In Low Latency Environments

Thiez Re:Troll much, slashdot? (371 comments)

Except that you could have used the exact same technique in java, recycling the same object.

about a year ago
top

Using Java In Low Latency Environments

Thiez Re:Python has advantage of Java (371 comments)

> So if you code in Java there is no way to compile parts of it to get a needed speed boost.

Modern VMs already compile when you need a speed boost.

> The last time I coded a low latency system (in C++) we disabled timer interrupts to the Linux OS to prevent the process getting swapped out

Did that really make a meaningful difference? I imagine the interrupt handlers would have very little code and would never ever result in pages getting swapped out.

about a year ago

Submissions

Thiez hasn't submitted any stories.

Journals

Thiez has no journal entries.

Slashdot Login

Need an Account?

Forgot your password?