Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork3.4k
-
I want to display epub content in a viewer application which is written in C. Are there some examples which show how to use servo in a C application ? |
BetaWas this translation helpful?Give feedback.
All reactions
We do not have any examples of using Servo in a C application. You'd need to expose the entire Rust API via a C-compatible interface, which would likely be a good deal of work. We hope to have a C or C++ compatible API at some point though.
Replies: 3 comments 3 replies
-
We do not have any examples of using Servo in a C application. You'd need to expose the entire Rust API via a C-compatible interface, which would likely be a good deal of work. We hope to have a C or C++ compatible API at some point though. |
BetaWas this translation helpful?Give feedback.
All reactions
-
any improvements about this since last year ? |
BetaWas this translation helpful?Give feedback.
All reactions
-
We still have not exposed a C API for the Rust embedding API; it has gone through a lot of changes in the past 6 months. |
BetaWas this translation helpful?Give feedback.
All reactions
-
Do you have a link to real documentation? (I only just started looking into Servo but didn't find much on the main Web site.) Here's the situation: Been in IT roughly 40 years. Started out on real computers that had to have real computer rooms, down to desktops, and finally spent the last decade in the embedded systems world, mostly medical devices. The tools in the medical devic/embedded systems world either A) suck or B) cost 27 vital organs and your first 6 children. I had hoped that CopperSpice's port of Qt 4.8.x would amount to something, but they are too enamored with C++ compiler standards to create something usable. After years of trying to explain to them they will die poor and lonely going down that road, I finally had enough and recentlyfully forked Project will get a rename and most likely move to SourceForge once it is further downthe roadmap. During the code cleanup and packaging stage it is becoming painfully obvious they have the old Webkit from 4.8.x days and just hacked things off to where it would "run." That has me poking around and after first looking at RDK (way too big of a whale I think) and absolutely refusing to use Blink due to Google's fetish for spy-ware, I stumbled on Servo. At first blush this looks like a good thing to put a C++ wrapper around so it can be a widget in an application. Don't need an answer immediately. Need to get all of the graphics back ends ripped out and replaced with only GLFW. (A large number of Qt bugs are the result of them rolling their own plugins for display instead of using a single robust well tested layer.) That's the point in time I think the project will get its rename. Post rename would be a good time to jettison the Webkit and start on a wrapper for the embedded browser widget. Mostly thinking out loud here. Oh. Until I'm done with the formal packaging scripts, I'm not merging into main. If you are looking for what is "now" you have to look at ls-cs-0.1.0 branch. At any rate, a link to the documentation you have would be great! |
BetaWas this translation helpful?Give feedback.
All reactions
-
https://doc.servo.org/servo/index.html |
BetaWas this translation helpful?Give feedback.
All reactions
-
I too would love to see a C or C++API. I can't wait to replace WebVIew2 and WKWebView. |
BetaWas this translation helpful?Give feedback.