There has been a few requests for BSD support on the sass-embedded-host-ruby:
The most reasonable solution seems to be implementing sass --embedded in pure JS mode so that we can run embedded compiler using Node.js runtime on platforms that Dart runtime has no support. Aside from BSD, this will also allow users of some minor CPU architecture to run embedded host.
The pure JS implementation should be very similar to the current Dart implementation:
- Use synchronous compilation only for better performance.
- Use Node.js worker threads to replace Dart isolates.
- Use
SyncMessagePort from embedded-host-node to replace Mailbox.
There has been a few requests for BSD support on the sass-embedded-host-ruby:
The most reasonable solution seems to be implementing
sass --embeddedin pure JS mode so that we can run embedded compiler using Node.js runtime on platforms that Dart runtime has no support. Aside from BSD, this will also allow users of some minor CPU architecture to run embedded host.The pure JS implementation should be very similar to the current Dart implementation:
SyncMessagePortfrom embedded-host-node to replaceMailbox.