Stream: compiler development

Topic: glue for roc-graphics


view this post on Zulip Luke Boswell (Aug 10 2023 at 03:46):

@Richard Feldman @Folkert de Vries those recent glue updates are looking exciting.

roc-graphics now compiles and runs for me on MacOS :tada:

Only two minor issues with the generated glue within impl core::hash::Hash for Event and impl core::hash::Hash for Elem which can be commented out as a workaround.

It would be awesome if the Model could be provided by the App, as described in this issue #5666 as this is the last thing standing in the way of us having a usable graphics platform :smiley: :pray:

view this post on Zulip Richard Feldman (Aug 10 2023 at 11:01):

awesome! Is there a branch where I can see the Hash issue? Might be an easy fix

view this post on Zulip Luke Boswell (Aug 10 2023 at 12:56):

https://github.com/lukewilliamboswell/roc-graphics/blob/15bb963fc12ff66836c948eb7269eeef0b93f387/platform/src/glue/roc_app/src/aarch64.rs#L225

view this post on Zulip Luke Boswell (Aug 10 2023 at 12:57):

This is one of those, the other is later in that same file, only on that architecture too.

view this post on Zulip Luke Boswell (Aug 10 2023 at 12:58):

If you uncomment those rust will complain about hash not being implemented

view this post on Zulip Richard Feldman (Aug 10 2023 at 16:51):

@Luke Boswell https://github.com/roc-lang/roc/pull/5742 should fix it! I tried it out on your branch and it fixed that issue (and some others)


Last updated: Jul 06 2025 at 12:14 UTC