Haskell

https://youtu.be/ujkmV1DJKv4

The most recent release of GHC includes a technology preview of a WebAssembly backend. This allows Haskell code to run in many new contexts. GHC's WebAssembly backend is based on an earlier research compiler called Asterius. In this talk, Cheng Shao, the main author of both projects, presents an introduction to WebAssembly and why compiling Haskell to it is different than other platforms. The talk includes many details about why the backend is the way it is, along with instructions to work on it. This talk was presented at the 2023 GHC Contributor's Workshop in Rapperswil, Switzerland, colocated with Zurihac. The workshop was arranged by the Haskell Foundation, OST Eastern Switzerland University of Applied Sciences, and the GHC development team. Cheng Shao is a full-time software engineer at Tweag, where he has been working since 2018. His main contribution to GHC is the WebAssembly backend, which grew out of his early research project, a Haskell-to-WebAssembly compiler codenamed Asterius. He focuses on maintaining the GHC WebAssembly backend, adding new functionality, as well as other GHC work that involves code generation and the runtime system.

15
0
haskellweekly.news

cross-posted from https://slippy.xyz/notes/9vujpeyssp

4
0
discourse.haskell.org

cross-posted from: https://infosec.pub/post/12126221 > h/t [@bgamari@mastodon.social](https://mastodon.social/users/bgamari)

12
1
youtu.be

After listening to this highly informative talk, I switched my message alert sound to Adam’s exasperated sigh, adeptly showcased throughout the talk. 🤌🏽

17
1

cross-posted from: https://sopuli.xyz/post/10354955 > If "category" has a better name.... > > Isn't it just "composite"? > > Every arrow in category can be composed, the set(or class or whatnot..) of that is composite.

2
0

The next #FPIndia Learn #Haskell meetup is going to be this Saturday 24 Feb in #Gurgaon. We'll do a quick recap of basics of Haskell, and then learn some tricks on how to write real world code. This is a great time to jump in if you have not attended the previous sessions. Do drop by if you are around! #FunctionalProgramming #Meetup #Delhi #India

6
0
www.youtube.com

Basic optics: lenses, prisms, and traversals in Haskell Lenses are becoming an increasingly important part of a Haskeller’s toolkit. Yet, when first approaching them, people may feel buried under a myriad of different lens-like thingies, and the complexity of some of the libraries implementing those concepts, like lens. The goal of this talk is to provide a conceptual overview of three of the most important kinds of optics, namely lenses, prisms, and traversals. For most data types, those optics can be automatically generated, something we shall discuss. Finally, we shall look at one useful application of optics: treating semi-structured data such as JSON documents.

14
0