IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Google Go
http://www.theregist.../11/11/google_go/

Sounds neat.

More here - http://golang.org/

Cheers,
Scott.
New Interesting.
The merging of Python and C seems fairly well thought out. Making strings first-class objects should attract a lot of programmers who grew up on C.

I'm intrigued by the decision of omitting semi-colons. There will be a vast class of programmers who will find that difficult... (think about the polarisation about semi-colon insertion in JavaScript).

The collapsing of all looping into a single statement, for, is daring. And switch has had a significant overhaul.

Wade.

Q:Is it proper to eat cheeseburgers with your fingers?
A:No, the fingers should be eaten separately.
New Yay...
Yet another new language without database drivers, usable frameworks, or a community. :-)

Should be interesting to see what happens to it.
Regards,
-scott
Welcome to Rivendell, Mr. Anderson.
New Why does one need database drivers?
Dont most modern databases have their own database drivers?
New Re: Why does one need database drivers?
You need a programming interface for them. Unless this language can directly use C, C++, Python, or some other library (which it may very well be able to, I didn't look).
Regards,
-scott
Welcome to Rivendell, Mr. Anderson.
New any language worth scrapdoodle should be able to callout
New Re: any language worth scrapdoodle should be able to callout

There are two Go compiler implementations, 6g and friends, generically called gc, and gccgo. Gc uses a different calling convention and linker and can therefore only be linked with C programs using the same convention. There is such a C compiler but no C++ compiler. Gccgo is a GCC front-end that can, with care, be linked with GCC-compiled C or C++ programs. However, because Go is garbage-collected it will be unwise to do so, at least naively.

There is a “foreign function interface” to allow safe calling of C-written libraries from Go code. We expect to use SWIG to extend this capability to C++ libraries. There is no safe way to call Go code from C or C++ yet.


Yay, C libraries.
Regards,
-scott
Welcome to Rivendell, Mr. Anderson.
New Ouch.
MySQL's C libraries are rather clunky. No, let me revise that: MySQL's network calling protocol is a little clunky and this shows in the C library. If MySQL wanted to get into the Go bandwagon, they'd write a decent modern API in the language itself that uses the wire protocol.

I don't know what Postgres's API is like.

Wade.

Q:Is it proper to eat cheeseburgers with your fingers?
A:No, the fingers should be eaten separately.
New Still...I think it might still have better support than...
LOLCODE...


HAI
CAN HAS STDIO?
PLZ OPEN FILE "LOLCATS.TXT"?
AWSUM THX
VISIBLE FILE
O NOES
INVISIBLE "ERROR!"
KTHXBYE



http://en.wikipedia.org/wiki/LOLCODE

New Ben's thinking about that, too.
http://groups.google.../69edcda758fbad29

Cheers,
Scott.
New Let's hope the guy pays attention
There can be no performance critical looping without a couple of core points like a separate prepare/execute set of statements.
And the concept of DBI:DBD is greeat for moving between databases unless you tie yourself down on purpose.
New That's a good read.
Every database layer has mistakes and it looks like he's trying to avoid as many as he can. I'm impressed.

Wade.

Q:Is it proper to eat cheeseburgers with your fingers?
A:No, the fingers should be eaten separately.
New Stupid name, too.
For Googling purposes, that is.
Regards,
-scott
Welcome to Rivendell, Mr. Anderson.
New No, brilliant
How do you search for "Word"? Well, you have to search for "Microsoft Word" or you won't get anything useful.

This naming convention ensures that you won't be able to search for anything about Go without being explicitly reminded who "owns" it, regardless of what the license says.
--

Drew
New For them, yes.
But to actually find something, everyone has to call it "Google Go" or that doesn't work.

If I write a PostgreSQL wrapper and say it's for the "Go language", no one will find it if they're looking for "Google Go".
Regards,
-scott
Welcome to Rivendell, Mr. Anderson.
New Gives a new meaning to 'googlie-goo'.

Q:Is it proper to eat cheeseburgers with your fingers?
A:No, the fingers should be eaten separately.
New For a non-programmer...
...what's the problem being solved, here?
New Where C sits in the development stack.
That is, it tries to remove or simplify the minutae of programming in high-level assembly (which is what C is often called) without fencing off too much that is useful. At the same time, it adds genuine language support for the sort of things the various C libraries try to add and most modern languages support intrinsically.

Put another way, it's trying to create a much better C by looking at what people like in languages like Python.

C has a nasty reputation of requiring programmers to take care of silly details. Strings are the classic example: they are not first-class objects in C. You have to do all the memory management yourself, every time and everywhere. This detracts significantly from ease of development.

Wade.

Q:Is it proper to eat cheeseburgers with your fingers?
A:No, the fingers should be eaten separately.
New yeah and like GC solves that
wait a minute!@ All transactions must halt while I do GC
hmm ta rumpty dah.......
tech support can I help you?
yer fucking program locks up for 2 minutes every 13

as opposed to,
put some memoryt here,
use it
release it
fucking language designers
New They must have some empirical data to support that choice.
And surely there are modern algorithms that are halfway between the simplest garbage collection and the most aggressive reference counting.

OTOH, I understand the choice to not have to worry about explicit string memory allocation.

Wade, who's wondering why he's defending this new language.

Q:Is it proper to eat cheeseburgers with your fingers?
A:No, the fingers should be eaten separately.
New All the speed of Python and the convenience of C, eh?
New I think they intended the other way around.
That is, all the speed of C with all the covenience of Python.

Having said that, I'm not a fan of either language.

Wade.

Q:Is it proper to eat cheeseburgers with your fingers?
A:No, the fingers should be eaten separately.
New I have an invitation for you guys.
We're working at something relevantly similar at my firm, called GPSEE. It's using javascript, not python... but the main thing is that we have a pretty decent foreign function interface for it. The code repository for the FOSS part of gpsee is at

http://code.google.com/p/gpsee

with support available on Freenode at irc://irc.freenode.org channel #gpsee.

You'll be wanting the support as my boss freely admits that the docs at the google code page "kinda blow". That said, you can only expect to find Wes (my boss) and Donny (contract programmer that's working with us) on there during business hours EST.

Basically, there are tools there that can be used to basically import any C function easily into javascript. Note that this is javascript using the gsr (gpsee script runner) program... this is absolutely not intended for use in the browser and almost certainly will never be in a browser due to the rather obvious security implications. This is intended for compatibility with the CommonJS (formerly ServerJS) framework. We are already using some of this in production, and if your platform supports the nano-JIT compiler it can result in some serious serious performance out of it.

Since javascript is at heart a functional language, the basic approach is to include C functions under a special object, and then we wrap those functions as appropriate in javascript objects using javascript to do so. We are already using some of this in production in a high-traffic high-availability environment without problems.

My personal take on this particular project is that once it gets known within the wider community my boss is going to become a programming star; you can include any arbitrary existing C function into the javascript interpreter with about a half-hour of C programming, mostly to create the necessary structures for storing arguments and returns from those C functions. Type promotion is largely done in a sane manner; for example, if a C function returns NULL it will be automagically promoted to the null object in javascript, etc etc etc.

If anyone wants to go check it out (and maybe help out) please feel free to visit the site and channel above.

Cheers,

Jack
     Google Go - (Another Scott) - (22)
         Interesting. - (static)
         Yay... - (malraux) - (9)
             Why does one need database drivers? - (boxley) - (5)
                 Re: Why does one need database drivers? - (malraux) - (4)
                     any language worth scrapdoodle should be able to callout -NT - (boxley) - (2)
                         Re: any language worth scrapdoodle should be able to callout - (malraux) - (1)
                             Ouch. - (static)
                     Still...I think it might still have better support than... - (Mycroft_Holmes_Iv)
             Ben's thinking about that, too. - (Another Scott) - (2)
                 Let's hope the guy pays attention - (crazy)
                 That's a good read. - (static)
         Stupid name, too. - (malraux) - (3)
             No, brilliant - (drook) - (2)
                 For them, yes. - (malraux) - (1)
                     Gives a new meaning to 'googlie-goo'. -NT - (static)
         For a non-programmer... - (pwhysall) - (5)
             Where C sits in the development stack. - (static) - (4)
                 yeah and like GC solves that - (boxley) - (1)
                     They must have some empirical data to support that choice. - (static)
                 All the speed of Python and the convenience of C, eh? -NT - (pwhysall) - (1)
                     I think they intended the other way around. - (static)
         I have an invitation for you guys. - (jake123)

Your LRPD God[tm] is HERE!
80 ms