[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-glpk] Re: Java GLPK to Javascript GLPK bindings
From: |
Noli Sicad |
Subject: |
[Help-glpk] Re: Java GLPK to Javascript GLPK bindings |
Date: |
Mon, 21 Mar 2011 20:11:53 +1100 |
Hi Xypron,
I finally found the right Javascript engine to create GLPK bindings.
http://code.google.com/apis/v8/embed.html
"
Embedder's Guide
If you've read the Getting Started guide you will already be familiar
with using V8 as a standalone virtual machine and with some key V8
concepts such as handles, scopes, and contexts. This document
discusses these concepts further and introduces others that are key to
embedding V8 within your own C++ application.
The V8 API provides functions for compiling and executing scripts,
accessing C++ methods and data structures, handling errors, and
enabling security checks. Your application can use V8 just like any
other C++ library. Your C++ code accesses V8 through the V8 API by
including the header include/v8.h.
The V8 Design Elements document provides background you may find
useful when optimizing your application for V8.
"
Thanks.
Noli
On 3/21/11, Noli Sicad <address@hidden> wrote:
> Hello Xypron,
>
> I want to run in Firefox for cross platform in general. Firefox is
> leading the way with Firebug add-on. It has HTML5 database (i.e.
> sqlite) as well.
>
> My specific needs right now, is to run glpk javascript / glpk jquery
> in iOS (iphone and ipad) and Android platform later on. I will be
> using PhoneGap for this 2 arm platform. jQuery mobile will take care
> with other platform - Meego, WebOS (Hp tablet), etc. later on.
>
> Right now, I managed to compile the glpk (glpsol and libqlpk) in iOS
> (arm7) in Mac OS X. It is cross compilation. However, I have not
> tested it yet. You need Mobile terminal to run glpsol.
>
> Anybody interested I can send this to you.
>
> Thanks.
>
> Regards, Noli
>
>
>
> On 3/21/11, glpk xypron <address@hidden> wrote:
>> Hello Noli,
>>
>> the ECMAScript language specification does not provide an interface
>> to other languages:
>> http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-262.pdf
>>
>> Some JavaScript runtimes allow calling Java classes, see for example
>> https://developer.mozilla.org/en/Core_JavaScript_1.5_Guide/LiveConnect_Overview#JavaScript_to_Java_Communication
>>
>> What a solution could look like will depend on the environment which
>> you want use.
>>
>> E.g. if you want to run the application in Firefox, you would have
>> to supply a plugin for Firefox, which provides amongst others the
>> GLPK binary library. If you want to run the application in the
>> Microsoft Internet Explorer you might think about ActiveX.
>>
>> Please, describe in which environment you want to use GLPK.
>>
>> Best regards
>>
>> Xypron
>>
>> -------- Original-Nachricht --------
>>> Datum: Sun, 20 Mar 2011 09:31:06 +1100
>>> Betreff: Java GLPK to Javascript GLPK bindings
>>
>>> Hi Xypron,
>>>
>>> I am becoming interested in javascripts and jquery as part of my
>>> interests in open source GIS (i.e. openlayers) and presenting glpk /
>>> mathprog output in business graphics (e.g. bar, lines, etc.)
>>>
>>> I found out that javascript and jquery are easy to learn and code less
>>> as
>>> well.
>>>
>>> Now, would it be kind enough to generate / create glpk binding for
>>> javascripts?
>>>
>>> Here is Java to Javascripts compiler - Ellipse plugin
>>>
>>> "Java2Script (J2S) provides an Eclipse Java to JavaScript compiler
>>> plugin and an implementation of JavaScript version of Eclipse Standard
>>> Widget Toolkit (SWT) with other common utilities, such as package
>>> java.lang and package java.util. You can convert your SWT-base Rich
>>> Client Platform (RCP) into Rich Internet Application (RIA) by
>>> Java2Script"
>>>
>>> http://code.google.com/p/java2script/
>>>
>>> Thanks in advance.
>>>
>>> Regards, Noli
>>
>> --
>> Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
>> belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
>>
>
- [Help-glpk] Java GLPK to Javascript GLPK bindings, Noli Sicad, 2011/03/19
- [Help-glpk] Re: Java GLPK to Javascript GLPK bindings, glpk xypron, 2011/03/20
- [Help-glpk] R GLPK no memory available, Kaustubh Patil, 2011/03/20
- [Help-glpk] Re: Java GLPK to Javascript GLPK bindings, Noli Sicad, 2011/03/20
- [Help-glpk] Re: Java GLPK to Javascript GLPK bindings,
Noli Sicad <=
- [Help-glpk] Re: Java GLPK to Javascript GLPK bindings, Noli Sicad, 2011/03/21
- [Help-glpk] Re: Java GLPK to Javascript GLPK bindings, glpk xypron, 2011/03/21
- [Help-glpk] Re: Java GLPK to Javascript GLPK bindings, Noli Sicad, 2011/03/21
- Re: [Help-glpk] Re: Java GLPK to Javascript GLPK bindings, Nigel Galloway, 2011/03/25
- Re: [Help-glpk] Re: Java GLPK to Javascript GLPK bindings, Noli Sicad, 2011/03/27
- Re: [Help-glpk] Re: Java GLPK to Javascript GLPK bindings, Nigel Galloway, 2011/03/29
- Re: [Help-glpk] Re: Java GLPK to Javascript GLPK bindings, Noli Sicad, 2011/03/29
- Re: [Help-glpk] Re: Java GLPK to Javascript GLPK bindings, Nigel Galloway, 2011/03/31