Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Luna Anni :nb_verified:
Luna Anni :nb_verified:
@nyovaya@transfem.social  ·  activity timestamp 2 days ago

What do you mean, #electron has no compile target for #freebsd. At that point Im convinced theres no point to use Electron for desktop apps.

  • Copy link
  • Flag this post
  • Block
0mp at FreeBSD
0mp at FreeBSD
@mpts@mastodon.social replied  ·  activity timestamp 2 days ago

@nyovaya There's #Electron in the #FreeBSD ports and so users have access to some Electron-based applications this way. An app needs to be ported first though.

  • Copy link
  • Flag this comment
  • Block
Luna Anni :nb_verified:
Luna Anni :nb_verified:
@nyovaya@transfem.social replied  ·  activity timestamp 2 days ago

@mpts@mastodon.social I know that theres a port but its a bit tedious because I just tried to build an app based on nodejs which uses electron. Its not important enough for me to spend much more time on that, was just curious if I could easily build it.

  • Copy link
  • Flag this comment
  • Block
David Chisnall (*Now with 50% more sarcasm!*)
David Chisnall (*Now with 50% more sarcasm!*)
@david_chisnall@infosec.exchange replied  ·  activity timestamp 2 days ago

@nyovaya @mpts

The problem upstream is that Electron is basically a wrapper around Chromium and Node.js. Node.js is a wrapper around v8, but the most complexity in the entire stack is in Blink and v8. v8 is pretty portable and supports FreeBSD but the first thing that Google did when they forked WebKit for blink was to rip out a load of platform abstractions. They refuse to take any patches to support platforms that Google does not ship Chrome for, because it increases their maintenance burden for no commercial benefit.

This means that the FreeBSD Electron port has to maintain downstream patches to make Chromium run on FreeBSD, and then the additional bits for Electron. The latter are quite easy, but the former is painful (the work is shared with the FreeBSD Chromium port, but it’s still a huge amount of work, made much harder by explicit policies of the Google Chrome team).

  • Copy link
  • Flag this comment
  • Block

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.2-alpha.5 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Members
  • Code of Conduct