4 ms·
Some friends and I are building a specialized database in Go as our senior project in college. Our code has lots of fiddly bits and currently weighs in at about
by stevejohnson 17y ago
Some friends and I are building a specialized database in Go as our senior project in college. Our code has lots of fiddly bits and currently weighs in at about 4,000 lines of Go (4,000 more of Python) with a lot more code on the way. We plan to release parts of it this summer.
So far, the language feels great. After a week of regular use, it feels very natural. Error reporting is wonderful. As mentioned elsewhere, library support is lacking, but it's been a good experience for us to build a lot of that stuff ourselves. The interface and package systems feel just right. We will likely try to contribute to the standard library in the future.
The only thing we're really missing is generics. We are having trouble generalizing some data structures and ended up duplicating some for multiple data types. I hear that those issues will go away this year, though.
- zsouthboy 17y agoHow's calling go from Python (and vice versa)? Did you have to roll something or is there something already available? Python for UI and non-perf sensitive stuff and Go for the under-the-hood stuff seems like the perfect mix for my future pet projects(having not used Go yet; perhaps that will change).
- stevejohnson 17y agoWe are simply passing JSON back and forth over Unix pipes. JSON support in both languages is great.
- enneff 17y agoThat sounds like one of the largest projects undertaken in Go so far. I'm excited to see how it turns out - please keep us posted in golang-nuts! :-)
- stevejohnson 17y agoWe haven't been following go-nuts, simply because we haven't had the time. I hope to write a comprehensive postmortem in May. I'll be sure to join the list at that point.