What about this, instead: https://github.com/serge-hulne/SwiftlyGo
On Monday, 5 May 2025 at 00:59:16 UTC+2 Justin Israel wrote:
> I read your article and then looked at the code and was surprised to find
> that there wasn't much code there at all, vs what the article claims as a
s there
> more work meant to be added to match the "framework" description from the
> article? Or is it really meant to be as minimal as the current state, where
> it had a few functions that wrap around gomponents?
>
> On Sunday, May 4, 2025 at 7:55:11 PM UTC+12 Ser
The repo:
https://github.com/serge-hulne/Golid/tree/main
The introductory article:
https://medium.com/p/e90bb3350bdd
Serge.
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails fro
Why does Go (so far) not have support for generators/ iterators for custom
types ?
I wrote this workaround:
https://github.com/serge-hulne/go_iter
But I was wondering what lead to the idea of leaving iterators out in the
early days of the design of Go. What simplification of the language was
y_jan_mercl/
>
> ;-)
>
> On Sat, Apr 9, 2022, 17:39 Serge Hulne wrote:
>
>> I have just published on Github one possible implementation of Conway's
>> Game of Life in Go:
>>
>> https://github.com/serge-hulne/Game-of-life-go/
>>
>> It seems to work, ho
I have just published on Github one possible implementation of Conway's
Game of Life in Go:
https://github.com/serge-hulne/Game-of-life-go/
It seems to work, however it might be buggy.
Feel free to file a bug report under "Issues", if you find an error in the
impement
https://github.com/serge-hulne/go_iter
It allows iterating over streams of arbitrary length (data channels).
--
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
Cool!
On Mon 14 Mar 2022 at 17:10, Rob Muhlestein wrote:
> Here's one with 1.18 generics: https://github.com/rwxrob/fn (for fun).
>
> On Wednesday, August 25, 2021 at 10:17:59 AM UTC-4 Serge Hulne wrote:
>
>> https://github.com/serge-hulne/go_iter
>>
>> go
ovember 2021 at 18:21:00 UTC+1 seank...@gmail.com wrote:
> that's exponential growth, every value results in 2 output values
> input "1" x1, get "2" x2, "3" x4, "4" x8, "5" x16, ...
> also your use of goroutines to send mean you'll s
gmail.com wrote:
> that's exponential growth, every value results in 2 output values
> input "1" x1, get "2" x2, "3" x4, "4" x8, "5" x16, ...
> also your use of goroutines to send mean you'll still run out of memory at
> some
Hi,
I am trying to code an observer pattern or a publish/submit pattern for a
sort of cellular automaton.
The classical observer pattern does not to the trick because if a cell A
subscribes to changes in a cell B and vice-versa, the application will run
out of stack owing to the recursive appr
https://github.com/serge-hulne/go_iter
go get github.com/serge-hulne/go_iter
Currently working on the doc and examples.
--
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 i
Is there a preview Golang version I can download to try out generics ?
I have written a library, which I believe would benefit from generics.
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving ema
Thank you for the info.
On Monday, 14 September 2020 at 13:07:25 UTC+2 rcore...@gmail.com wrote:
> I just wrote a wrapper around open mpi in Go: https://github.com/emer/empi
>
> Also, here's a set of random go bindings I found:
> • https://github.com/yoo/go-mpi
> • https://github.com/marcusthierf
I had a look again at "Fyne". It seems to have improved a lot lately, in
particular the default size for fonts etc seems much better!
Thanks again for the suggestion.
On Sunday, 2 August 2020 at 23:43:56 UTC+2 ma...@eliasnaur.com wrote:
> On Sunday, 2 August 2020 at 23:24:20 UTC+2 jake...@gmail.
rg/rj/goey/src/master/
> https://gioui.org/
> https://github.com/andlabs/ui
> https://github.com/goki/gi
> https://github.com/lxn/walk
>
> On Sunday, August 2, 2020 at 11:53:32 AM UTC-4 Serge Hulne wrote:
>
>> Is there a gui library for Go, like Gtk+ or similar, which will produce
Thanks!
On Sunday, 2 August 2020 23:09:45 UTC+2, smart dev wrote:
>
> Yes, you can use go-astilectron. (electron + go)
> https://github.com/asticode/go-astilectron
>
> On Sunday, August 2, 2020 at 9:53:32 AM UTC-6, Serge Hulne wrote:
>>
>> Is there a gui library f
Is there a gui library for Go, like Gtk+ or similar, which will produce a
statically linked executable ?
The aim is to create apps which do not require the user to install GTK or
any extra libraries in order to use the app.
--
You received this message because you are subscribed to the Google
Thank you!
On Saturday, 1 August 2020 19:48:50 UTC+2, Brian Candler wrote:
>
> In Go, everything is passed by value: that is, assignments and function
> calls make a copy of the value.
>
> However, some types are effectively structs which contain pointers
> embedded within them. Strings, slic
```
package main
import (
"fmt"
)
func f(s *string) {
a := "Hello"
b := "Hello"
c := "bye"
d := a
fmt.Printf("pa: %p\n", &a)
fmt.Printf("pb: %b\n", &b)
fmt.Printf("pc: %v\n", &c)
fmt.Printf("pd: %v\n", &d)
fmt.Printf("p(f(u)): %p\n", s)
}
func main() {
Hi,
I am looking for the easiest way to emulate ncurses using Go.
More precisely, I am looking for a snippet of code (an example basically)
on how to do the following:
"put a given character directly on a location (x,y) on a terminal" using
either Tcell or Termbox-go
or in pseudo-code:
*pu
Thank you!
On Wed 13 Nov 2019 at 21:08, Russel Winder wrote:
> On Wed, 2019-11-13 at 06:02 -0800, Serge Hulne wrote:
> > Am I therefore correct in assuming that, if the problem I am trying to
> model
> > is not IO bound or CPU bound, but deals essentially with modeling a l
Thank you very much for your answers, they are very much appreciated.
Serge.
--
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+unsubscr...@googlegroups
Am I therefore correct in assuming that, if the problem I am trying to model is
not IO bound or CPU bound, but deals essentially with modeling a large number
of independent cells (a sort of massively parallel « Game of life »), where
each cells lives in its own process, it makes more sense to mo
Does anybody know if Rust threads are lightweight processes like Go goroutines
or if they rely on system threads (i.e. more like the Python approach) ?
Thanks!
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and
Hi,
I used SWIG in the past to be able to use C functions from Python code and
to largely automate the process of making said lib of C functions
accessible to Python.
I would like to do the same with Go.
Is SWIG still the best tool for the job or is there maybe another new too
more appropria
26 matches
Mail list logo