From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id 114AD820A1 for ; Wed, 11 Sep 2013 10:30:11 +0200 (CEST) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of gour@atmarama.net) identity=pra; client-ip=80.91.229.3; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="gclci-caml-list@m.gmane.org"; x-sender="gour@atmarama.net"; x-conformance=sidf_compatible Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of gclci-caml-list@m.gmane.org designates 80.91.229.3 as permitted sender) identity=mailfrom; client-ip=80.91.229.3; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="gclci-caml-list@m.gmane.org"; x-sender="gclci-caml-list@m.gmane.org"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of postmaster@plane.gmane.org designates 80.91.229.3 as permitted sender) identity=helo; client-ip=80.91.229.3; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="gclci-caml-list@m.gmane.org"; x-sender="postmaster@plane.gmane.org"; x-conformance=sidf_compatible; x-record-type="v=spf1" X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AisFAOUpMFJQW+UDf2dsb2JhbABbgz+NXrZ4Fg4BAQsLCggUKIIlAQEEATobHgsLCyElDy0bGYd8CgjCN5ADhAcDjyyIS5UV X-IPAS-Result: AisFAOUpMFJQW+UDf2dsb2JhbABbgz+NXrZ4Fg4BAQsLCggUKIIlAQEEATobHgsLCyElDy0bGYd8CgjCN5ADhAcDjyyIS5UV X-IronPort-AV: E=Sophos;i="4.90,883,1371074400"; d="scan'208";a="26449841" Received: from plane.gmane.org ([80.91.229.3]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/AES256-SHA; 11 Sep 2013 10:30:05 +0200 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VJfoJ-0002db-L7 for caml-list@inria.fr; Wed, 11 Sep 2013 10:30:03 +0200 Received: from 78-1-240-181.adsl.net.t-com.hr ([78.1.240.181]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 11 Sep 2013 10:30:03 +0200 Received: from gour by 78-1-240-181.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 11 Sep 2013 10:30:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: caml-list@inria.fr From: Gour Date: Wed, 11 Sep 2013 10:26:16 +0200 Message-ID: <20130911102616.01772b9d@atmarama.noip.me> References: <20130910230928.2d51cd39@atmarama.noip.me> <522FC0C2.8080600@riken.jp> <20130911050753.GA22288@dell.happyleptic.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 78-1-240-181.adsl.net.t-com.hr X-Newsreader: Claws Mail 3.9.1 (GTK+ 2.24.18; x86_64-pc-linux-gnu) X-Validation-by: gour@atmarama.net Subject: [Caml-list] Re: OCaml vs Ada and/or GUI options On Wed, 11 Sep 2013 07:07:53 +0200 rixed@happyleptic.org wrote: > Is there something like gtk-server for qt? Q: I want the GTK-server to work with Qt, FLTK, wxWidgets! A: That is not possible, because these toolkits were implemented with C++. With a C++ shared object or DLL it is impossible to lookup a functionname, because the functionnames have been mangled to a unique name during compiletime. The reason for this is to make sure that overloaded functions will have a unique name. There is no way to know in advance how the name of a function is called. More details on this matter here. However, the GTK- and XForms toolkits were implemented with plain C, so the GTK-server concept works in these cases. (http://www.gtk-server.org/faq.html) I'm also curious what would hypothetical qt-server bring to OCaml users? Sincerely, Gour -- One who restrains his senses, keeping them under full control, and fixes his consciousness upon Me, is known as a man of steady intelligence. http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810