Live data from Hacker News

Show HN: Encrypted VPN in 2k lines of Go

github.com

1–10 of 66 posts

Re: Show HN: Encrypted VPN in 2k lines of Go

#3
Nice, I'll try it out once I get home.

A couple of question:

- What is the throughput once you fixed the issues ?

- If you were to implement a client for mobile (iOS, Android), how would you go about it ? (Just theoretically, I understand it's a personal project)

I'm using openvpn on a cloud server and one of the big advantages is the availability of mobile client apps.

Re: Show HN: Encrypted VPN in 2k lines of Go

#5

Is it just me or Golang started gaining momentum recently? More and more related articles/OSS projects/HN links show up every day.

I think Golang is very suitable for network programming tasks. It gives you wonderful libraries to work with sockets, strict rules to structure your code, automatic memory management, goroutines for concurrent programming etc.

Most network related small apps were written in C, now you can write them in Go. With the added benefit of simple libraries, memory management and goroutines. You don't have to mess arround with platform specific sockets, threading libraries etc. Plus every piece of code you open is written in understandable Go. With C, there is years of baggage, multiple standards, pre-compiled headers, undefined behaviour etc.

And lastly, new is always more exciting than old :)

Re: Show HN: Encrypted VPN in 2k lines of Go

#7

Is it just me or Golang started gaining momentum recently? More and more related articles/OSS projects/HN links show up every day.

When I first saw Go I was put off by its syntax, but after giving it a chance I very quickly fell in love with it.

I've used C#, Python, Ruby, Java, C, Obj-C, JS and Go for mid-large scale projects. Go is the only language I've ever truly loved; sometimes I even feel like I'm writing poetry (as ridiculous as that may sound).

The community is really incredible^, I've yet to encounter anything that didn't have great documentation or solved by packages. My favorite SO answer of any language is probably this one by icza: https://stackoverflow.com/questions/22892120/how-to-generate... . I also feel that it's very easy to read and understand other peoples code compared to other languages (imo, the only aspect of Go that I think can be difficult for newcomers to grasp is pointers). All in all, I feel very confident that I'll still be writing Go code after ten years.

^ (Although I hate when certain "elitists" downvote questions because they feel they've been sufficiently answered elsewhere.. if a SO answer says how to display time to YYYY-MM-DD:HH-MM then don't complain if someone ask how to display time as YYYY-MM-DD.. I have a strong dislike towards jquery (or rather JS), but I think the great thing about jquery is that every imaginable edge-case seem to be documented)

Post reply on HN