Live data from Hacker News

Opossum: Cross-platform web browser written in Golang, optimized for Plan 9

github.com

91–98 of 98 posts

Re: Opossum: Cross-platform web browser written in Golang, optimized for Plan 9

#91
post #87

Earlier quoted context omitted.

OpenGL already has a client/server model (i remember a friend of mine once showing me running some OpenGL stuff from his SGI to his Linux machine... or the other way around, it has been years :-P) and i can't think of anything in WebGL that couldn't work in the same way (though i only used WebGL very little). Sending commands and data over a file handle fits this fine. Note sure about WebGPU though.

Yes it did, if the only thing one cares about is OpenGL 1.x like performance. X Windows did not come up with shared memory communication and hardware mapping extensions just for fun.

You aren't going to be sending vertices through the pipe every frame.

You are going to be sending commands to create the vertex buffers and upload textures (with the relevant data) and then most of your commands will be referencing those. Which is basically exactly what discrete GPUs already do anyway.

IIRC, unlike OpenGL, WebGL doesn't even allow you to do things in another way.

What X Windows did isn't very relevant because the use is very different. It'd only be somewhat comparable if the WebGL programs would treat WebGL as a way to stream new frame data for every frame (e.g. video). Also all X Windows communication with clients is done via commands sent through unix sockets which have similar performance to pipes.

Re: Opossum: Cross-platform web browser written in Golang, optimized for Plan 9

#92
post #4

At this point in market concentration, any sufficiently brave or delusional soul that ventures into even the most rudimentary web browser development is a hero to me !

A modern web browser is comparable to an operating system in complexity.

Building a LLM from RFC, W3C specs and billions of websites to generate a web browser engine is no more scifi (but still has to be done)

Re: Opossum: Cross-platform web browser written in Golang, optimized for Plan 9

#94

http client, UI interactions logic, domain models, utilities like tree operations, browser domain logic and all of that inside single go file? I think you'd make your life 10 times easier by splitting it better

Did you even look at the repo? There are many files.

Answered that in other comment

I've seen them and point is still valid.

Re: Opossum: Cross-platform web browser written in Golang, optimized for Plan 9

#95
post #87

Earlier quoted context omitted.

Yes it did, if the only thing one cares about is OpenGL 1.x like performance. X Windows did not come up with shared memory communication and hardware mapping extensions just for fun.

You aren't going to be sending vertices through the pipe every frame. You are going to be sending commands to create the vertex buffers and upload textures (with the relevant data) and then most of your commands will be referencing those. Which is basically exactly what discrete GPUs already do anyway. IIRC, unlike OpenGL, WebGL doesn't even allow you to do things in another way. What X Windows did isn't very relevan…

GPUs and game consoles use DMA with command buffers for transfers, and synchronization points, not file handles with IO APIs.

Re: Opossum: Cross-platform web browser written in Golang, optimized for Plan 9

#96
post #83
post #80

Earlier quoted context omitted.

Posted from 9front (using netsurf). I also run https://shithub.us , which is hosted from plan 9, and more or less needs plan 9 for push access. It uses the hjgit:// protocol for push access, which requires plan9 auth to establish the channel. The fact that there are so many repos up should give a hint at how active the community is.

Follow up question then: why? This isn’t meant to come off as judgmental, but a real question. Plan 9 looks pretty neat but I would think that the lack of driver support alone would make it pretty difficult to run for anything.

It's comfortable. And it works with the hardware I own just fine.

Re: Opossum: Cross-platform web browser written in Golang, optimized for Plan 9

#97
post #96
post #83

Earlier quoted context omitted.

Follow up question then: why? This isn’t meant to come off as judgmental, but a real question. Plan 9 looks pretty neat but I would think that the lack of driver support alone would make it pretty difficult to run for anything.

It's comfortable. And it works with the hardware I own just fine.

Fair enough! I've played a bit with Inferno and Plan 9 inside VMs, but never tried to run it full time. Maybe I should give it a go on one of my spare laptops.

Re: Opossum: Cross-platform web browser written in Golang, optimized for Plan 9

#98
post #95

Earlier quoted context omitted.

You aren't going to be sending vertices through the pipe every frame. You are going to be sending commands to create the vertex buffers and upload textures (with the relevant data) and then most of your commands will be referencing those. Which is basically exactly what discrete GPUs already do anyway. IIRC, unlike OpenGL, WebGL doesn't even allow you to do things in another way. What X Windows did isn't very relevan…

GPUs and game consoles use DMA with command buffers for transfers, and synchronization points, not file handles with IO APIs.

Right but WebGL and OpenGL without vendor-specific extensions does not expose those so they are irrelevant here.
Post reply on HN