Skip to content

Wasm support #738

@dhess

Description

@dhess

Hi! We're looking for a Selda replacement, and Beam looks promising.

We'd like to use beam-sqlite with GHC's Wasm backend, but it currently fails to build due to missing getProcessID support (or equivalent):

processId <- fromString . show <$> getProcessID

It appears Beam uses the process ID only as a unique identifier for the purposes of tracking a particular savepoint in runInsertReturningList. Could getProcessID potentially be replaced in Wasm by a pseudo-random number, instead?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions