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

 



Forgot your password?
typodupeerror
Get HideMyAss! VPN, PC Mag's Top 10 VPNs of 2016 for 55% off for a Limited Time ×

Comment A cardinal what? (Score 1, Offtopic) 42

It took me quite a bit of reading to understand what a "Cardinal scouting director" is. In fact, I'm still not entirely sure what such a person actually does.

Given the tech-oriented and international audience of this side, I'm not sure that one can assume that I am alone in being confused by the wording of the title. A better one would be to simply refer to the person as "sports executive".

Comment Re:4.5 hours a day? That's really sad. (Score 1) 188

The fact that the expression "binge-watch" actually exists ought to tell you something

I have a hard time watching any TV-series where each episode doesn't have a conclusion, since I can't watch something for more than about an hour straight. Seems like viewers of modern TV-series treat them as single 25-hour movies.

Comment Re:Can anyone explain? (Score 1) 41

Both Ansible and Docker work and are supported on FreeBSD, but I can't tell you if there are any specific issues to consider since I don't actually use them myself.

I still run Linux on my workstations because it's easier to get all the workstation/laptop things working there. However, I'll give FreeBSD a try on the desktop as well next time I reinstall.

On the server, there are really no benefits to Linux currently.

Comment Re:Can anyone explain? (Score 4, Insightful) 41

I'll give you one reason why I finally moved to FreeBSD for my servers: it does not use systemd.

It might sound like a trollish thing to say, but it's true. It's not the only reason of course. FreeBSD really is much nicer on the server. It's much more predicable and easier to analyse problems. The lack of systemd is just one factor that contributes to this.

Comment Re:Not JVM (Score 2, Informative) 172

I wouldn't be so quick to assume that reference counting requires less CPU cycles unless you have actual data to back up that claim.

With reference counting every single allocation, as well as every single object ownership transfer requires extra CPU cycles and memory accesses to manage the memory as well as manage the counter (yes, I know Swift does some clever tricks to avoid the counting which frankly is the only reason it's as performant as it is). Also remember multithreading issues when updating the refcounter.

With garbage collection, you obviously don't need to do any reference counter management, saving a lot of CPU and memory access cycles right there. But what is less obvious is that memory allocation itself is much faster with (compacting) garbage collector. After collection, all free memory will be in a single contiguous block, reducing the memory allocation operation to a single ADD instruction.

So, in summary:

With refcounting you have:

  • Slow memory allocations (need to manage a fragmented heap)
  • Slow accesses and pointer handovers (updates to the refcounter)
  • Slow free (need to manage the free list)
  • No asynchronous pauses (since there is no garbage collector)

With a GC, you get:

  • Fast allocations (usually just an "add" instruction since the heap is not fragmented)
  • Zero cost accesses and pointer handovers
  • Zero cost free (just stop using the pointer)
  • Some asynchronous pauses and CPU usage while running the GC

There have been plenty of research on memory management, and we're well past the time when you could say "GC is slower than the alternative".

Comment Re: "mass market affordable car" (Score 1) 430

Thankfully, much fewer than in most other places. Because of the cost, and the fact that most people can get by just fine with the very good public transport system, cars have become somewhat of a status symbol here.

That said, myself and most other people I talk to are annoyed that the government is not being more welcome to electric vehicles. You could have very good coverage with only a handful of charging stations, and you can travel across the country several times on a single charge.

Instead, you get this: http://www.stuff.tv/sg/feature...

Comment Re:"mass market affordable car" (Score 1) 430

Wages can vary greatly, but housing and cars are both incredibly expensive here compared to other countries (both caused by the fact that Singapore is very small and very densely populated).

But, I have seen people buying cars that would cost them roughly a year's salary. It used to be even worse, which is why the government introduced a new law saying that you are only allowed to use financing for 50% of the purchase price.

Comment Re:"mass market affordable car" (Score 1) 430

Yes, of course. I agree that Singapore is definitely out of the ordinary here.

What I am objecting to, however, is the statement that a 35k USD car is "only for rich people". Plenty of "normal" people own cars here. It's a matter of priorities. Priorities, mind you, that I don't agree with. I do have a car, but I really wish I could get rid of it so I can spend the money on better things.

Slashdot Top Deals

"Summit meetings tend to be like panda matings. The expectations are always high, and the results usually disappointing." -- Robert Orben

Working...