ramin_hal9001,
@ramin_hal9001@emacs.ch avatar

Question:

Does anyone know of an APL compiler or transpiler that can generated Vulkan or OpenGL shader scripts? (Free/libre would be most appreciated.) I think Aaron Hsu might have engineered something like this at some point, but I can't find anything about it at all right now, probably thanks to our amazing new "AI-enhanced" search engines.

codrusofathens,
@codrusofathens@linuxrocks.online avatar

@ramin_hal9001 The Goog hasn't completely borked using quotes and booleans in their search engine yet. Have you tried that? Just curious...

ramin_hal9001,
@ramin_hal9001@emacs.ch avatar

@codrusofathens I did narrow my query but without using quotes. My query was something like "apl programming GPU OpenGL shader GLSL" or something like that.

I just tried again with "apl programming compiler target shader GLSL aaron hsu" and I got the APL wiki page for Aaron Hsu which mentions his work on a GPU-hosted APL compiler and links to the Co-dfns GitHub page, as well as his Ph.D thesis. It looks like I almost had the winning query before I posted this question. Of course, you always have perfect vision in hindsight.

rml,

@ramin_hal9001 @codrusofathens iirc, Hsu's APL GPU work is more like Harlan, in that it compiles to compute kernels rather than GLSL vertex + fragment shaders. So it could be good for implementing a path tracing renderer, which could have its own PBR shader language, but in terms of getting straight to pixel pushing, not particularly useful.

But it should be a match made in heaven, APL is a much more natural environment for linear algebra than GLSL's C-style syntax.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • opengl
  • DreamBathrooms
  • ngwrru68w68
  • tester
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • mdbf
  • tacticalgear
  • JUstTest
  • osvaldo12
  • normalnudes
  • cubers
  • cisconetworking
  • everett
  • GTA5RPClips
  • ethstaker
  • Leos
  • provamag3
  • anitta
  • modclub
  • megavids
  • lostlight
  • All magazines