3 ms·
Generic GUI API's that fit a wide variety of application programming languages has proven a very tricky task. I know of none that do it close to right. Data st
by tabtab 8y ago
Generic GUI API's that fit a wide variety of application programming languages has proven a very tricky task. I know of none that do it close to right.
Data structures and object models vary too much between languages. If you "solve" this by extracting out anything potentially programming-language-specific (such as variable types and data structure "types"), you end up with something that looks like a markup language anyhow (or at least a declarative data/attribute language).
- pulse7 8y agoEclipse is a generic IDE for multiple programming languages. And so is IntelliJ IDEA...
- tabtab 8y agoI think there has been a big miscommunication somewhere. I don't see what IDE's have to do with this. I'm thinking of say having a "draw button" command that works in any programming language similar to how just about any programming language can send and receive HTML to "have" a UI via a web browser. But, the markup language would be better suited to GUI's than HTML/CSS/DOM. Note I am not against middle-ware that can translate a GUI markup language to and from "native" data structures/types. I use and make "HTML helpers" in specific application languages all the time so that I'm not communicating in raw HTML for specific common items.
- 4thaccount 8y agoI would say that Rebol did this very well with their builtin VIEW DSL. You can effortlessly build a very complex desktop app in this manner. If you scroll down a little bit you can see a lot of simple GUI apps like paint that require nearly zero boiler plate. http://re-bol.com/rebol.html http://re-bol.com/rebol.html