Things next gen should have.Ability to dynamic load modules
It's surprising given it's limited abilities that Go as it is has such a large audience.
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Things next gen should have.Ability to dynamic load modules
Ability to compile go from in-memory strings and generate in-memory objects that can be used. (C# system.reflection.emit)
A DataSet Structure. Go has all the ability but lacks this construct to create a database schema in memory with tables and constraints between said tables. (System.Data.DataSet, System.Data.DataTable)
If it had any 2 of the above I might even forgive it's blind s/\n/;/ behavior.Event based networking instead of poll based. (including websocket as event based)
Proper enumeration type; that is constants groups into a type and not just arbitrary names. (Again spoiled by C#)
an event type could be useful; event my_callbacks; ... external: my_callbacks.Add( callback ); internal: my_callbacks(); which saves some typing and coding to iterate through a list of delegates and creating methods to accept various delegate functions to store them into appropriate lists.
accessors. It's sometimes useful to be able to interact with variables and give them complex functions without the calling code being changed. (recompiled, but not changed)
I'm sure there's a half dozen other things I'm forgetting now; and/or didn't get around to trying, for lack of features. I started to port sources of DataTable.. but there's several constants named 'None'... and they should all be relative to their other related values.... not just 'None'.
And making sub packages just for the sake of constants seemed like overkill.
On Thursday, 1 October 2015 04:12:25 UTC+3, J Decker wrote:Things next gen should have.Ability to dynamic load modulesThose will probably come, at some point.
Event based networking instead of poll based. (including websocket as event based)Why would the event based networking be better than the current single thread (not OS thread) of execution?
Event based networking instead of poll based. (including websocket as event based)Why would the event based networking be better than the current single thread (not OS thread) of execution?Can someone explain this to me? What is event based networking at OS level? One OS thread per connection? What API does that use?
Perhaps I have gotten it wrong but network io is implemented using said async models under the hood.
--
Perhaps I have gotten it wrong but network io is implemented using said async models under the hood.
Ability to compile go from in-memory strings and generate in-memory objects that can be used. (C# system.reflection.emit)This would mean including the whole compiler into Go. Also it wouldn't fit with Go-s constraints that it must run in locations where runtime code-generation is not allowed.
Things next gen should have.
Ability to dynamic load modulesAbility to compile go from in-memory strings and generate in-memory objects that can be used. (C# system.reflection.emit)A DataSet Structure. Go has all the ability but lacks this construct to create a database schema in memory with tables and constraints between said tables. (System.Data.DataSet, System.Data.DataTable)
If it had any 2 of the above I might even forgive it's blind s/\n/;/ behavior.
Event based networking instead of poll based. (including websocket as event based)Proper enumeration type; that is constants groups into a type and not just arbitrary names. (Again spoiled by C#)
an event type could be useful; event my_callbacks; ... external: my_callbacks.Add( callback ); internal: my_callbacks(); which saves some typing and coding to iterate through a list of delegates and creating methods to accept various delegate functions to store them into appropriate lists.accessors. It's sometimes useful to be able to interact with variables and give them complex functions without the calling code being changed. (recompiled, but not changed)I'm sure there's a half dozen other things I'm forgetting now; and/or didn't get around to trying, for lack of features. I started to port sources of DataTable.. but there's several constants named 'None'... and they should all be relative to their other related values.... not just 'None'. And making sub packages just for the sake of constants seemed like overkill.Yes some of these last things are pretty frivolous; just some things I thought were pretty simple to have been omited; and some can be worked around.-----It's surprising given it's limited abilities that Go as it is has such a large audience.
On Wed, Sep 30, 2015 at 06:12:25PM -0700, J Decker wrote:
> Ability to compile go from in-memory strings and generate in-memory objects
> that can be used. (C# system.reflection.emit)
What Go really needs, is self-modifying code.
I'm sure nothing bad can happen.
There are people in this world who are born as bitter old men and are critical of everything.
Ability to compile go from in-memory strings and generate in-memory objects that can be used. (C# system.reflection.emit)
Proper enumeration type; that is constants groups into a type and not just arbitrary names. (Again spoiled by C#)