google / shenzhen-go

Experimental visual Go environment
Apache License 2.0
464 stars 44 forks source link

Ideas..... #25

Open ghost opened 6 years ago

ghost commented 6 years ago

The dev version works well. Its quite fun too to kind of visually code.

I have some ideas and i am kind of allowed to because i used to do a fair bit of Generative Design for Code and Architecture... Also its great to see someone being brave enough to try this...

Brain dump .......

Also GRPC and protobufs is common now and pretty accepted.

I would definitely keep the pure go channels approach you have now BTW !!! But i am just seeing how GRPC and protobuf will make this thing more reusable later thats all.

i am pretty terrible at explaining my self so yell if i am not making sense and i will elaborate.

Anyway super cool stuff, and intrigued where this will go.

DrJosh9000 commented 6 years ago

Thanks @gedw99, I'm glad that this little project of mine has some value. I'm no expert in this specific area so I'm all ears.

I just started playing with Grasshopper. I think I see what you mean. I hope to have implemented the ability to "watch" values travel through channels before July, but we'll see. You aren't referring to Bret Victor perhaps?

Thanks for the link to webview, I think something like this will be an absolute necessity.

gRPC is bread and butter inside Google so it was nice to finally be able to ditch the JSON-based glue I was manually coding up (there was probably a better way at the time, but I didn't really look).

I am looking forward to playing around with the upcoming WASM output in the Go compiler, but just haven't had much time (I'm actually on holiday in Europe right now). Glad to have the reminder!

Physical topology independence with gRPC etc - this is pretty appealing. Maybe it will be possible to combine both approaches in a single graph, say with the gRPC connections between "blocks" and channels inside blocks. In a similar vein I was also thinking of adding things like io.PipeReader/io.PipeWriter as "channels of a different colour".

ghost commented 6 years ago

Bret Victor - thanks it was there in the cobwebs somewhere.

I am from oz. My Waverly , Victoria but have lived in Europe for almost 20 years now. Berlin these days.

There is a grpc IPC library somewhere out there. Will find it when I get time ...

Enjoy the hols !!!

On Fri, Apr 20, 2018, 9:16 PM Josh Deprez notifications@github.com wrote:

Thanks @gedw99 https://github.com/gedw99, I'm glad that this little project of mine has some value. I'm no expert in this specific area so I'm all ears.

I just started playing with Grasshopper. I think I see what you mean. I hope to have implemented the ability to "watch" values travel through channels before July, but we'll see. You aren't referring to Bret Victor perhaps?

Thanks for the link to webview, I think something like this will be an absolute necessity.

gRPC is bread and butter inside Google so it was nice to finally be able to ditch the JSON-based glue I was manually coding up (there was probably a better way at the time, but I didn't really look).

I am looking forward to playing around with the upcoming WASM output in the Go compiler, but just haven't had much time (I'm actually on holiday in Europe right now). Glad to have the reminder!

Physical topology independence with gRPC etc - this is pretty appealing. Maybe it will be possible to combine both approaches in a single graph, say with the gRPC connections between "blocks" and channels inside blocks. In a similar vein I was also thinking of adding things like io.PipeReader/io.PipeWriter as "channels of a different colour".

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/google/shenzhen-go/issues/25#issuecomment-383195370, or mute the thread https://github.com/notifications/unsubscribe-auth/ATuCwhxmy2RNmLF5VOK5tt04AN2jKCsgks5tqjP8gaJpZM4Tb4UW .