Better HN
topnewbestaskshowjobs
Log inSign up

remogatto

41 karma · joined Apr 12, 2010 (16y ago) · 8 submissions

Submissions

1.

Show HN: Gorgasm, a framework for writing native Android applications in Go(github.com ↗)

6 points · by remogatto · 12y ago · discuss

2.

Miracle: A Sega Master System emulator in Javascript(xania.org ↗)

1 points · by remogatto · 14y ago · discuss

3.

IOnRoad: Augmented Driving Experience on Android(ionroad.com ↗)

1 points · by remogatto · 14y ago · discuss

comment 14y ago · link · parent

I used Go to write a concurrent ZX Spectrum emulator (https://github.com/remogatto/gospeccy). The language perfectly fits for this kind of task too.

5.

Interesting, historical article about the ELF file format(linuxjournal.com ↗)

1 points · by remogatto · 15y ago · discuss

comment 15y ago · link · parent

I'm using it to write a ZX Spectrum emulator. Go is a neat language. It is expressive as an high-level language and - at the same time - it is powerful on the low-level side. Moreover, it has interesting built-in concurrency mechanisms. Last but not least, I like the fact that it is openly developed.

comment 15y ago · link · parent

That's right. In Go such light-weight tasks are called goroutines.

Quoting from Effective Go[1]:

A goroutine has a simple model: it is a function executing in parallel with other goroutines in the same address space. It is lightweight, costing little more than the allocation of stack space. And the stacks start small, so they are cheap, and grow by allocating (and freeing) heap storage as required.

Goroutines are multiplexed onto multiple OS threads so if one should block, such as while waiting for I/O, others continue to run. Their design hides many of the complexities of thread creation and management.

[1] - http://golang.org/doc/effective_go.html#goroutines

8.

GoSpeccy: A concurrent ZX Spectrum Emulator Written in Go(github.com ↗)

34 points · by remogatto · 15y ago · 8 comments