4 ms·
Just looking at the source and finding out it's JavaScript. Although I'm probably living in a cave and didn't use Linux often on the desktop since years, it is
by hbbio 7y ago
Just looking at the source and finding out it's JavaScript.
Although I'm probably living in a cave and didn't use Linux often on the desktop since years, it is common practice now to write Gtk/Gnome apps in JS? I tought Vala was the cool language for that kind of apps...
- chrisseaton 7y ago> I tought Vala was the cool language for that kind of apps... I think you’re about ten years behind the trend.
- CameronNemo 7y agoNope, new applications are commonly being written in Vala. For example bookworm, a GTK eBook viewer.
- deleted 7y ago[deleted]
- chrisseaton 7y agoI didn't say all new applications were being written in JS, did I? So any number of counterexamples does not disprove what I said. We were talking about the trend of what people were looking at using now.
- makapuf 7y agoOk, please: what language are people using when they want to create gnome software ? Or the trend of what people are looking at using, if you prefer. Edit: switched two words.
- pratio 7y agoIt uses epub.js which i think is really cool for rendering the documents. The UI looks pretty impressive as well. For anyone coming from Calibre, this would look amazing
- GuiA 7y agoKudos to the developer for seeing a need and building something that fills that need with a clean UI. As a developer, I get that the quickest path to building a well featured eBook reader meant building on top of ePub.js. However, purely from an idealistic engineering perspective (I know, some people do not care at all about that), having to rely on the DOM + a fully featured JavaScript engine to render an ebook is just... insane.
- PyroLagus 7y agoWell, epub is just special HTML. I don't think you strictly need JavaScript, but it's about the easiest way to work with and render HTML. And I imagine rendering PDF is a whole lot messier.
- rhodysurf 7y agoGJS is the easiest way to write Gtk/Gnome apps these days, and it uses the native controls
- truncate 7y agoI saw JavaScript and for a moment, and I was like - "Oh no, not electron again", and moment later I was happy to see that it was not Electron!
- ASalazarMX 7y agoSaw that too and dismissed the project. My PC has plenty of resources, but if I'm going to use a browser to read books, I might as well upload it to Google Play Books and use the browser I already have open for other things. It has the same functionality and my progress and bookmarks are synced across devices. Granted, epubs are easily converted to HTML, but I shouldn't need an additional few hundreds Mb of RAM to read a 5Mb file.