World: r4wp
[Ann-Reply] Reply to Announce group
older newer | first last |
Geomol 21-May-2013 [1939] | What about fish? Are there something to the theories, that our brains evolved, when we started to eat more fish? |
GrahamC 21-May-2013 [1940x2] | That's an ancient and discredited thesis |
and like the great apes, we would get B12 from eating insects | |
Gregg 21-May-2013 [1942] | Should move to ~Science so I don't lose this. |
GrahamC 21-May-2013 [1943x2] | Maternal milk contains the fatty acids needed for baby's brain growth |
no fish needed! | |
Geomol 21-May-2013 [1945] | It seems plausible with the omega 3 in fish, and when we look at whales, who as mammals have so large brains too. |
GrahamC 21-May-2013 [1946x3] | whales eat fish ? |
fish get their omega 3 from plants | |
moving to science ... | |
Arnold 22-May-2013 [1949] | @Kaj, "Home improvement with Freddy"? Home improvement was with Tim "the toolman" Taylor, not Freddy Krueger?? |
Kaj 22-May-2013 [1950] | Well, he came with claw tools and tomb stones... |
Bo 22-May-2013 [1951] | Kaj, I ran into Carl today in Home Depot and we talked about your SDL binding for Red. Do you think it would be difficult to make a binding for R3? Carl was saying that he thought it wouldn't be too hard to convert R3-GUI to run off of OpenGL instead of the current foundation (was it AGG?) so it could be hardware accelerated. Just curious. |
Kaj 22-May-2013 [1952] | Cool. The host backends for R3 are quite firmly in its C source, though, so it wouldn't be much use to use my Red/System code: you'd need to write the port in C to integrate it in R3. Perhaps a part of it could be split off in the R3 devices architecture for hosts, but that's incomplete, and you would have to handle a host implementation in an extra Red/System shared library, because the Red/System compiler doesn't generate object files or static libraries yet to link into the R3 executable |
Bo 22-May-2013 [1953] | Carl must've been talking about writing SDL into R3-GUI then. Sometimes (often) he speaks above my level. |
Kaj 22-May-2013 [1954x3] | Nah, that's pretty much the same thing. All these considerations are Red details that aren't known to Carl |
Another thing is that the classic SDL that's available everywhere, currently the 1.2.x series, is single-window. To get a proper R3 host with multiple windows you need SDL 1.3, which is usable but is in a very stretched out development process, like R3. 1.3 has Android and iOS support, so you'd usually want that, anyway, but it's harder to get ready to download binaries for it, and I haven't tested it with my binding yet | |
I had been thinking over time about porting R3 on SDL when the time came, but it never did, so I have no plans for it now | |
GrahamC 22-May-2013 [1957] | What about something like FLTK ? |
Kaj 22-May-2013 [1958] | C++ and OpenGL, GLUT I think. Bleurgh |
GrahamC 22-May-2013 [1959x2] | sizeof(fltk::Widget) == 60. The "core" (the "hello" program compiled & linked with a static FLTK library using gcc on a 486 and then stripped) is 82K. The FLUID program (which includes every widget) is 352k. |
Still fits on a 720K disk | |
Kaj 22-May-2013 [1961x2] | That's nice, but it's still C++, and mandatory 3D hardware, I think |
They also have conflicting development branches, worse than SDL | |
GrahamC 22-May-2013 [1963] | Support for OpenGL overlay hardware on both X11 and WIN32. Emulation if none |
Kaj 22-May-2013 [1964] | So hard to get on other platforms and less supported PCs |
GrahamC 22-May-2013 [1965x3] | http://www.fltk.org/doc-2.0/html/index.html |
FLTK (pronounced "fulltick") is a LGPL'd C++ graphical user interface toolkit for X (UNIX®), OpenGL®, Microsoft® Windows®, OS/X, and several other platforms. | |
Trying to see what other platforms means | |
Bo 22-May-2013 [1968] | LGPL couldn't be integrated into R3 because of conflicts with the Apache licensing model, right? |
Kaj 22-May-2013 [1969x2] | Yes, the major three, Linux only if you have drivers for your hardware, and little chance to get on other platforms |
No, Apache only has a problem with GPL | |
GrahamC 22-May-2013 [1971x2] | Heh, also available on AmigaOS4 |
In contrast to libraries like Qt and wxWidgets, FLTK uses a more lightweight design and restricts itself to GUI functionality. Because of this, the library is very small (the FLTK "Hello World" program is around 100 KiB), and is usually statically linked. It also avoids complicated macros and separate code preprocessors, and does not use the following advanced C++ features: templates, exceptions, RTTI or, for FLTK 1.x, namespaces. Combined with the modest size of the package, this leads to a relatively short learning curve for new users.[citation needed] These advantages come with corresponding disadvantages. FLTK offers fewer widgets than most GUI toolkits and, because of its use of non-native widgets, does not have native look-and-feel on any platform. | |
Andreas 22-May-2013 [1973] | SDL binding for R3 shouldn't be too hard. (Of course that doesn't help with the SDL 1.2 vs 1.3 issues Kaj nicely summarised.) |
Pekr 22-May-2013 [1974] | Bo - I wonder if you know about Cyphre's intent to accelerate View anyway, so imo Carl just misses important info on what is actually going on ;-) https://groups.google.com/forum/#!topic/rebol/6MMlv-E3j-E |
Cyphre 23-May-2013 [1975] | I don't think you would gain anything by using SDL to get R3GUI faster. AFAIK SDL has no 2d graphics support...it's just low-level lib for handling the OpenGL or 2d framebuffer. There is no support for 2d vector graphics, font rendering etc. so you'll end with the same needs for the UI engine in the end. As Pekr mentioned above, with the new R3 graphics code reorganization I'm working on it will be possible to even create a compositor based on SDL though if anyone is interested in doing that. |
Robert 23-May-2013 [1976] | or use OpenGL directly ;-) |
Arnold 23-May-2013 [1977x2] | @Kaj, you are unstoppable!! So many times as well I have no clue what it is all about. :\ |
I found out I do not need JNI though, no need to program my fridge. | |
Kaj 23-May-2013 [1979] | Java is way too bloated for fridges; they should run on Red :-) |
Pekr 23-May-2013 [1980] | I want red fridge :-) |
PeterWood 23-May-2013 [1981] | There you go - cheap at half the price - http://www.very.co.uk/swan-sr9051r-60cm-fridge-freezer---red/1119903640.prd |
Kaj 23-May-2013 [1982] | :-) |
Bo 23-May-2013 [1983] | That's a pretty small fridge compared to what we are using. |
Kaj 23-May-2013 [1984] | It's a [Red]uced fridge |
DideC 24-May-2013 [1985] | Bo: In Europe there are "Fridge" (like the Red one above) and "American fridge" like http://www.very.co.uk/samsung-rsg5ucrs-american-style-frost-free-fridge-freezer---stainless-steel/1195012798.prd?browseToken=%2fb%2f4536%2fr%2f100 |
Bo 24-May-2013 [1986x2] | Moving to ~Chit Chat. |
Thanks, Robert and Saphirion team! | |
GrahamC 24-May-2013 [1988] | Robert, it would be useful if everyone on your team adopted the same mdp style and template |
older newer | first last |