Better HN
topnewbestaskshowjobs
Log inSign up

voidlogic

3,297 karma · joined Nov 15, 2012 (14y ago) · 1,171 submissions

Submissions

comment 13y ago · link · parent

I think the OpenSSL binding are really only necessary if you follow the train of though that, "its new so it must be broken". I prefer tests and evidence and I would not hesitate to use the Go cypto in many production scenarios. To distrust something with no evidence of being broken seems like magical thinking to me.

Go 1.1 includes a better map implementation, so if they were starting now that probably would not have been needed.

Most large systems always end up performing some customization to standard logging solutions as well.

comment 13y ago · link · parent

Go 1.1 which will be out soon (maybe this month?) addresses a lot of these pain points to varying extents and is completely backwards compatible with 1.0.X code.

Also, I don't know if Erlang would have met their performance needs? http://benchmarksgame.alioth.debian.org/u64/benchmark.php?te...

comment 13y ago · link · parent

What about tracking memory usage? Peak, average, etc.

Previously you tested EC2 vs Local HW. What about adding local KVM virtual machine as well?

I also think a graph showing latency as a function of concurrency would be very interesting.

comment 13y ago · link · parent

Same problem for me in FireFox 20

comment 13y ago · link · parent

No, you are picking and choosing my words, what I actually said was: "being bright AND choosing where you make your career carefully"

comment 13y ago · link · parent

I know someone who just retired from a career of software development and is in his late sixtys. He has never stopped learning new tech and innovating on behalf of his employer. He, even in retirement, is well compensated, respected and sometimes even consulted.

Watching him, I think the key is being bright and choosing where you make your career carefully.

comment 13y ago · link · parent

Kudos on a hilarious response to a very stupid article by Harvard Business Review.

comment 13y ago · link · parent

Without a C-S degree, your burden of proof that you know your stuff will be much higher. Its a great experience and you will learn a lot of un-hip stuff that will be very helpful to you later (for example C, how OSs/semaphores/compilers/threading actually works, etc). Not to mention all the gen-eds that I believe make people better critical thinkers and members of society.

Without a degree you just be will be a another guy who (stereotypically) flings Ruby and JS and doesn't know what big O notation means (or why and when it matters) or what the difference between a interpreted, compiled and JIT compiled languages. Unless you make a big name for yourself, your name will be first to throw out along with the other non-degrees for any position with more than 10 applicants.

comment 13y ago · link · parent

"But 4x less CPU." You are seriously naive if you think the number of logical cores the hypervisor presents to your VM is the sole determiner of CPU execution resources.

Here is a counter example, imagine I have two VM host servers with 16 logical cores. On one I could pin each VM to 1 logical core, on the other I could run 300 VMs and give each VM 24 logical cores... The first one is going to perform much better.

Also some hypervisors (for example VMware) only executes a VM when they have as many cores as the VM has cores available for execution. So having many logical cores in your VM can negatively influence CPU scheduling.

"And support is a joke." Not in my experience

comment 13y ago · link · parent

They provide virtual hardware, how is it their if fault you can't manage your software using of it? I'm glad I use Debian/Ubuntu. It also sounds like you never took a backup snapshot.

comment 13y ago · link · parent

At $20/mo Digital Ocean offers twice as much memory, 1 TB more transfer and and 4 GB less disk (put it is SSD...)

Digital Oceans lack of "private" network is silly, if you really need it, setup a encrypted tunnel yourself, I would not trust anything else anyway. Also I highly doubt that if your DO DB and App server talk the traffic leaves the datacenter, but you could test this.

comment 13y ago · link · parent

I do see your point, but the vast majority of Go production code runs on Linux/amd64, so yes, that is the most meaningful result.

comment 13y ago · link · parent

u32 using 1.0.3 does, but u32q does not: http://benchmarksgame.alioth.debian.org/u32q/benchmark.php?t...

comment 13y ago · link · parent

Go does has known issues and does poorly on 32-bit x86. I would not draw any meaningful conclusions from it about Go in general.

comment 13y ago · link · parent

Go does has known issues and does poorly on 32-bit x86, but that is OK, no one uses it :)-

comment 13y ago · link · parent

I know of two more Go heavy start-ups and one large company that also use tip.

comment 13y ago · link · parent

The u64q link you posted is still using Go 1.0.3, you can see some 1.1 beta 1 results here: http://benchmarksgame.alioth.debian.org/u64/benchmark.php?te...

comment 13y ago · link · parent

Why don't you just post the link to Go 1.1 beta 1 vs Java/JVM rather than speculating?

http://benchmarksgame.alioth.debian.org/u64/benchmark.php?te...

comment 13y ago · link · parent

>>Memory consumption is often not a major concern on modern systems, saving 50 MB or even 500 MB

Tell that to the folks that have to pay for cloud or VPS servers... Also, less memory usage means higher CPU cache hit rates and fewer page faults.

comment 13y ago · link · parent

First off, is was 14k vs 38k. Just wait until next benchmark update when they have switched to Go 1.1

Based on these results Go and Netty should be much closer: https://gist.github.com/errnoh/5320784

comment 13y ago · link · parent

Win some, lose some: http://benchmarksgame.alioth.debian.org/u64/benchmark.php?te...

Note: The much faster version Go's DNA regex that uses PCRE rather than "regexp", but it is currently broken due to a build error. (http://benchmarksgame.alioth.debian.org/u64/program.php?test...)

comment 13y ago · link · parent

In addition to the improvements from the improved scheduler, use of accept4 on Linux, better GC and code generation, Brad Fitzpatrick has been giving a lot of love to the "net/http" package. Here is a small example: https://plus.google.com/u/0/115863474911002159675/posts/L3o9...

1013.

Playing with Go1.1beta2, it's much faster(blog.ant0ine.com ↗)

97 points · by voidlogic · 13y ago · 86 comments

comment 13y ago · link · parent

Intellectual property rights and freedoms are important issues to people here.

comment 13y ago · link · parent

Well it is high performance like Haskell and has easy concurrency like Erlang, but both of those languages are considered by many to be hard to read and write without a lot of ramp up time. Go is very easy for anyone familiar with a C family language to write and read and tends to have very straight forward and maintainable code.

comment 13y ago · link · parent

The improvements in tip can be very important for large applications (for example in some HTTP realted benchmarks tip is 20-40% faster), tip also has better garbage collection leading to lower memory use. Tip also supports around 128 GB of heap on Linux/amd64 versus 8 GB for stable.

All that being said, if you are just writing small programs on your machine using 1.0.3 until 1.1 is out is probably not a big deal. Just don't judge Go on performance until 1.1

comment 13y ago · link · parent

Some important Go run-time bugs fixed since beta 1:

  runtime: fix deadlock in network poller
  runtime: make CgoMal alloc field void*
  runtime: change Note from union to struct
  runtime: change Lock from union to struct
  runtime: replace unions with structs
  runtime: replace union in MHeap with a struct
  runtime: reset dangling typed pointer
  runtime: reset typed dangling pointer

1018.

Go 1.1 Beta 2 Released(groups.google.com ↗)

70 points · by voidlogic · 13y ago · 13 comments

comment 13y ago · link · parent

You would love Go and using its "net/http" package.

comment 13y ago · link · parent

After every few days of programming in Go I start to miss C a little bit, probably more out of nostalgia than anything else,- until 5 minutes later I think about something like this.
1
333435
40