4 ms·
I don't think this is a reasonable demand for startups or even medium sized businesses. Libraries cost time and money to produce, and if you are relying on fre
by codexon 14y ago
I don't think this is a reasonable demand for startups or even medium sized businesses.
Libraries cost time and money to produce, and if you are relying on free volunteers, development will either be slow or buggy and likely both.
I remember when I tried to look into a MySQL library last month. The first one I tried wouldn't even compile. The 2nd one threw a connection error not when I issued the dial function, but when I tried a query on a fake IP.
If you want Go to succeed, get Google to start funding it more or get used to having it grow organically like every other language.
- enneff 14y agoDid you find this page? https://code.google.com/p/go-wiki/wiki/SQLDrivers https://code.google.com/p/go-wiki/wiki/SQLDrivers The MySQL drivers there are tested and should work. If those were the ones you tried, I'd like to know. I just filed an issue to make the above link more discoverable.
- codexon 14y agoI Googled first and it took me to this page. http://go-lang.cat-v.org/pure-go-libs http://go-lang.cat-v.org/pure-go-libs Next thing I did was ask on IRC, and there wasn't a consensus on which driver to use.
- epoxyhockey 14y agoI'm curious if we can draw any comparisons to what Google is doing with Go and what Sun Microsystems did with Java, as far as a corporation supporting development of a language goes? How many resources did Sun allocate to developing and supporting Java? EDIT: One of the things that excites me about Go as opposed to something like Ruby on Rails or node.js (V8, aside) is that Google is behind it.
- mjcohenw 14y agoGoogle is behind it this year. Next year, who knows?
- sigzero 14y agoSun pushed Java for everything and everyone one. Go was built to solve problems at Google. If they solve your problem, cool, but that isn't (or wasn't) the goal.
- mortdeus 14y agoGo was built to solve problems like the ones faced at google. However, go can solve just about any theoretical computational problem C can.
- cygwin98 14y agoDon't count on it.
- enneff 14y agoGoogle is committed to Go. We already run a bunch of stuff written in Go, and continue to throw more engineers at improving the Go ecosystem inside the company. But Google's relationship with Go is not the same as Sun's was with Java. Sun made Java a core part of their business strategy. With Go, Google isn't getting into the language business, but rather supporting an ambitious open source project that suits Google's needs internally. As an open source project, Go has been quite successful so far. While the main driving force comes from the team at Google (we are employed to do this, after all), there are now more committers to the Go core from outside Google than within.
- mortdeus 14y agoIts best to think of google as the main sponsor of Go. Kinda like how apple is the main sponsor of LLVM. Go is a completely opensource commit-reviewed driven project. Developers from other companies other than Google have commit permissions and there arent any situations where go team works in house on the language for 6 months then throws all their commits over the wall. Also go is at heart a language specification. It is designed so that anybody can create their own go compiler, and as long as they honor the go spec and standard library, all go code should theoretically compile with your custom compiler. There are already a few other compilers in development out there. Gccgo is a go compiler with gcc as a bankend. llgo is similar except its frontend is written in go and uses cgo to wrap the LLVM C wrapper api to generate llvm bitcode. Im starting to reimplementing the official go gc and cc compilers written in go for my port of plan9's userland shell commands called goblin. https://github.com/mortdeus/goblin https://github.com/mortdeus/goblin In my opinion this is the core difference between java and go. Oracle believes they own java and will fight against projects derived from java, for example the lawsuit against dalvik. Google on the other hand is open to projects like the ones I mentioned above.
- mortdeus 14y agoYour entire argument is invalid. "I don't think this is a reasonable demand for startups or even medium sized businesses." It was a recommendation. Go is a great investment, and while it may not have a "huge" market share, many of the most influential tech company's in silicon valley are starting to use Go. https://code.google.com/p/go-wiki/wiki/GoUsers https://code.google.com/p/go-wiki/wiki/GoUsers And some of these companies are even writing/rewriting their spotlight core projects with Go. https://code.google.com/p/go-wiki/wiki/SuccessStories https://code.google.com/p/go-wiki/wiki/SuccessStories "Libraries cost time and money to produce" Time yes, Money no. Developers may charge money to produce software, however there are lots of software projects out there that were written by developers who worked for free. Does a painter always paint with the intention to sell his/her work at a gallery showing? Maybe they just want to create something for other people to experience. I view all software from this perspective, and I give alot of my time working on go boilerplate libraries and other opensource projects for free because I want to help empower developers to create real world solutions to real world problems without the nuance of having to "invent the wheel before being able to engineer a new automobile". "and if you are relying on free volunteers, development will either be slow or buggy and likely both." Pass. "I remember when I tried to look into a MySQL library last month. The first one I tried wouldn't even compile. The 2nd one threw a connection error not when I issued the dial function, but when I tried a query on a fake IP." Have you tried reading https://code.google.com/p/go-wiki/wiki/SQLDrivers https://code.google.com/p/go-wiki/wiki/SQLDrivers, or... perhaps considering using one of these, http://godoc.org/?q=sql http://godoc.org/?q=sql Maybe consider this which looks considerably up to date. https://github.com/go-sql-driver/mysql https://github.com/go-sql-driver/mysql Your experience last month with Go may very well be irrelevant now. Ive been using Go for about a year now, and many things have changed within go's development ecosystem within that time period. If you arent willing/capable of contributing to go by committing code, thats perfectly fine. However, atleast make sure that your issues with the language are actually still relevant before you discourage other developers from exploring the language themselves. "If you want Go to succeed" As if its likely to fail? Go has already successfully satisfied the language designer's desires that motivated the project's creation. They want to create a language that makes their programming environment more enjoyable and efficient when developing software at a scale Google operates at. Unless some language comes along that is exceptionally better at solving the problems Go was design to solve, Go will remain a successful programming language for those who use it. "get Google to start funding it more" Are you kidding me? Google has some of the most well respected engineers in computational history working full time on Go. Google cant just walk into best buy and hire geek squad to work on Go. We are trying to reduce go's overall source code complexity so that we can not only maintain the code, but ensure we dont introduce bad language design mechanics as apart of the programming environment. We want to avoid the situation, years down the road., where we are faced with having to make a decision to either cope with a bad language mechanic or deal with it by introducing backwards incompatible changes that break gopher's code. Both options suck, and the only good option is to avoid the situation entirely by making sure we make the best design choices. "or get used to having it grow organically like every other language." Most languages dont grow organically. Most either grow all mutated and exponentially complex to adapt to changes in technology, or development either slows down or stops growing completely because the majority developers who used the language, moved on to something . Go on the other hand does grow organically, atleast it has so far. Everyday the project matures and issues we are frustrated with right now could be a faux problem because its already been fixed in go tip and you just need to rebuild the compiler. http://swtch.com/~rsc/go11.html http://swtch.com/~rsc/go11.html I mean sure there are alot of bugs to fix and alot more than can be done to improve go's performance, but this is true for all software in general. The reason go is a good investment because it has alot of good investors investing in it.
- bmelton 14y agoOddly enough, I tried THREE MySQL libraries last week, and every one of them seemed to work perfectly, allowing me the luxury to choose which of the libraries I most preferred the syntax of. For what it's worth, I ended up using this one: github.com/ziutek/mymysql/mysql
- JulienSchmidt 14y ago> The 2nd one threw a connection error not when I issued the dial function, but when I tried a query on a fake IP. That's not the drivers fault: https://code.google.com/p/go/issues/detail?id=4804 https://code.google.com/p/go/issues/detail?id=4804