Handler in another programming language

Do not post support requests, bug reports or feature requests. Discuss CEF here. Non-CEF related discussion goes in General Discussion!

Handler in another programming language

Postby ThinkingMan » Wed Mar 01, 2017 11:58 am

I am wondering if this is theoretically possible:
Code the gui browser component in C++, but then for the renderer use another language like GoLang

OR must the entire application be written in one language...

Would be neat to have a kickass C++ or Delphi GUI program, but then use your other favorite language for other parts of the program (sub processes ? and callbacks)
ThinkingMan
Techie
 
Posts: 10
Joined: Wed Mar 01, 2017 11:52 am

Re: Handler in another programming language

Postby magreenblatt » Wed Mar 01, 2017 12:14 pm

Anything is possible.
magreenblatt
Site Admin
 
Posts: 10777
Joined: Fri May 29, 2009 6:57 pm

Re: Handler in another programming language

Postby ThinkingMan » Wed Mar 01, 2017 12:38 pm

Hahaha I've heard that one before...

I think only certain things are possible ;-)

http://wiki.c2.com/?AnythingIsNotPossible

But would there be any issues that you could see with using a GoLang or any language that can interface with the API as the renderer subprocess while the main cef application is C++

Seems like the best route may be the subprocess route - if it is a separate process, why would the C++ gui app ever care or know what language the subprocess was written in.

As I am a newbie to CEF, I do not know if this is a good idea (but in the spirit of Anything is possible: http://wiki.c2.com/?AnythingIsPossible )
ThinkingMan
Techie
 
Posts: 10
Joined: Wed Mar 01, 2017 11:52 am

Re: Handler in another programming language

Postby magreenblatt » Wed Mar 01, 2017 12:43 pm

Any limitations would be with the specific binding implementation or language runtime. There is no inherent limitation in the idea itself.
magreenblatt
Site Admin
 
Posts: 10777
Joined: Fri May 29, 2009 6:57 pm

Re: Handler in another programming language

Postby salvadordf » Thu Mar 02, 2017 3:46 am

There are already several applications written in a different language than the language used in the CEF3 libraries.

Take a look at the wikipedia page about CEF3 :
https://en.wikipedia.org/wiki/Chromium_ ... _Framework
Maintainer of the CEF4Delphi project.
User avatar
salvadordf
Expert
 
Posts: 108
Joined: Sun Dec 18, 2016 8:39 am
Location: Spain


Return to CEF Discussion

Who is online

Users browsing this forum: No registered users and 8 guests