News for hackers. Stuff that matters.

wfsfw4w44

Re:Packet download videos from YouTube on Sunday July 03, 2016 @05:45PM (#12027763)
how does this compare to youtube-dl?
Re:Multiple 7-Zip Vulnerabilities Discovered on Thursday May 12, 2016 @04:35PM (#11686583)
> Windows
ooc, most if not all of these software are second-class citizens on windows, and would perform much better under linux/bsd (as in OSX). how come you are running windows?
Re:Go 1.7 toolchain improvements on Saturday April 02, 2016 @06:27PM (#11413822)
by being able to use the go toolchain on the go source itself (it was previously in C)
Re:Building Web Apps in Go on Monday March 28, 2016 @09:07AM (#11373997)
go is somewhat special in what is shipped with its system libs:

"TLS/SSL/GZIP/PNG/XML"

all of these are part of the go standard libs, and gets regularry updated with the language.

tls and ssl: https://golang.org/pkg/crypto/tls/ gzip: https://golang.org/pkg/compress/gzip/ png: https://golang.org/pkg/image/png/ xml: https://golang.org/pkg/encoding/xml/

since golang also has built in support for fuzzing in the toolchain, the standard parts are quite battle tested already.

if you study their sourcecode you will also find Benchmark functions, that you can use to benchmark the implementations (go test -bench ./...)

Re:Building Web Apps in Go on Monday March 28, 2016 @09:00AM (#11373967)
the most obvious difference is a go-panic and exceptions are used in different scenarios.

it's considered bad practice in go library code to panic(), while it is considered normal error handling to throw an exception in java.

also note that you can catch a panic in go, and use it as some kind of exceptions if you really must.

https://github.com/golang/go/wiki/PanicAndRecover#usage-in-a...

Re:Building Web Apps in Go on Monday March 28, 2016 @08:48AM (#11373913)
Your issue here (obviously), is going to stack overflow for advice.
Re:Building Web Apps in Go on Monday March 28, 2016 @08:46AM (#11373907)
Since go is a compiled language, you get the benefit on zero startup cost, which you pay when using JVM or NET, or even Python.
Re:Building Web Apps in Go on Monday March 28, 2016 @08:44AM (#11373898)
No, it should not.

As another poster already commented; > You don't need to try selling C# to anyone. People who need it already use it