Asgeir S. Nilsen

less info
121 reputation
5
bio website google.com/profiles/asgeirn
location Norway
age 40
visits member for 3 years, 10 months
seen Jan 30 at 17:04
If it relates to computers or runs on batteries, I'm probably interested in it.

Jun
10
answered Why isn't Java used for modern web application development?
Dec
26
awarded  Nice Answer
Oct
4
comment Which language features are considered harmful?
kts: The former is much more readable than the latter, and if the latter is faster I'd blame that on the CPU or the compiler, not the language feature. sun.misc.Unsafe is not part of the Java language or the Java standard library. It's an internal Sun JVM implementation class not meant for public consumption. As for the need of a swap it's not something I miss on a regular basis.
Oct
4
comment Which language features are considered harmful?
fennec: For accessing hardware -- true, you need to be able to deal with specific address values.
Sep
16
comment Which language features are considered harmful?
@Mason We've been bitten by this on Solaris 10 and Sun Studio 11, so it can still hurt. That being said -- the bits of memory we were allocating / freeing were gigabyte-sized, something the memory manager probably wasn't designed to handle.
Sep
14
comment Which language features are considered harmful?
If resource management is your problem I'd say imposing manual memory management is attacking the wrong problem. With manual memory management the malloc() efficiency and heap fragmentation can hurt a lot. Garbage collection makes new() fast and leaves cleaning up unused memory to a dedicated made-for-purpose background thread. While resource hogs, leaking references and heap littering still can cause problems, garbage collection still solves more problems than it causes.
Sep
14
awarded  Editor
Sep
14
revised Which language features are considered harmful?
Didn't get my point through with the original formulation.
Sep
14
comment Which language features are considered harmful?
True. But allowing people to convert integers into memory references on a regular basis, or adding numbers to memory addresses is mostly harmful these days in my opinion. In C++ you have references as a perfectly good alternative, and smart pointers / auto pointers for when you really need it to be a pointer.
Sep
13
answered Why do programmers write closed source applications and then make them free?
Sep
13
answered Which language features are considered harmful?
Sep
11
awarded  Teacher
Sep
10
answered What's your favourite quote about programming?
Sep
10
awarded  Autobiographer
Sep
10
awarded  Supporter