Re: Compiling Livecode

2019-03-12 Thread Richard Gaskin via use-livecode

David Bovill wrote:

>> On 09/03/2019 Richard Gaskin wrote:
>>
>> David Bovill wrote:
>>  > No one using docker?
>>
>> https://hub.docker.com/r/techstrategies/livecode/
>
> I tried that and have it hosted somewhere. By the way who is / are
> "techstrategies".

That's the "ts" in "tsNet", Charles Warwick's Brisbane-based company who 
made the powerful networking external now bundled with proprietary 
editions of LiveCode.



> What I'm looking for is more of how to run integrate Livecode into a
> future looking devops environment - so using docker on the testing
> and development side. That's what we use with other platforms and
> languages - so just wondering... I want to know how Livecode would fit
> into a future with docker and webassembly and so forth rather than
> simply what
> works now.
>
> Anyone else experimenting in this direction?

Not a lot of devops folks on this list.

I sit through sessions at my local Linux User Group with envy for all 
the fun tools my colleagues get to play with, but as interesting as they 
are I'm finding my modest needs well addressed with simple VMs.  And 
with VPSes so cheap these days, I find myself with more Linux containers 
 than I have tasks to deploy on them.  Things are running well enough 
for the simple systems that make up my day job that Docker sits in a bin 
with LXD, Juju, Kubernetes, and other cool things that I'm keen to learn 
but haven't yet made time for.  I envy those with large-scale, complex 
deployments, but I have to admit I'm not one of them.


My use cases isn't interesting in itself, but as part of the dearth of 
devops folks here represents a chickens-and-eggs challenge for LC 
evangelism:


As scripting languages go, LC is as capable as Ruby, Python, and many 
others.  There is no across-the-board "best" among them, each with their 
own trade-offs, and LC's chunk expressions make it a good choice for a 
wide range of even faceless tasks.


When we combine that with the unparalleled integration of GUI elements 
in the language for client-side work, the benefits of LC for server work 
become as apparent as using Linux on the client, having one system that 
lets us move code on either side of the network as needs change, without 
having to rewrite in an entirely different language.


So one might think LC would make an ideal companion to the other 
languages hanging on a devops toolbelt.


But I find many devops folks believe the user experience exists only in 
web browser applications, and have little interest in net-savvy native 
apps, at least on desktop.


Odd, of course, given how this is opposite the mobile trend.  But even 
with mobile, most enterprises seems to favor web deployment for their 
bespoke systems rather than native.


The irony there, which us LC folks recognize instantly, is that many UIs 
can be built much faster in LC, and being dedicated they usually provide 
a much better, more focused user experience than limiting everything to 
the confines of a browser window.


If more enterprise folks were familiar with the benefits of LC, they'd 
be using it for their internal apps.


But of course enterprise folks won't generally adopt a technology until 
they see critical mass usage already in place.


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Compiling Livecode

2019-03-11 Thread David Bovill via use-livecode
I tried that and have it hosted somewhere. By the way who is / are
"techstrategies". What I'm looking for is more of how to run integrate
Livecode into a future looking devops environment - so using docker on the
testing and development side. That's what we use with other platforms and
languages - so just wondering... I want to know how Livecode would fit into
a future with docker and webassembly and so forth rather than simply what
works now.

Anyone else experimenting in this direction?


On Sat, 9 Mar 2019 at 17:16, Erik Beugelaar via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Very interesting...
> Thanks for sharing this info.
>
> On 09/03/2019, 17:38, "use-livecode on behalf of Richard Gaskin via
> use-livecode"  use-livecode@lists.runrev.com> wrote:
>
> David Bovill wrote:
>
>  > No one using docker?
>
> https://hub.docker.com/r/techstrategies/livecode/
>
> --
>   Richard Gaskin
>   Fourth World Systems
>   Software Design and Development for the Desktop, Mobile, and the Web
>   
>   ambassa...@fourthworld.comhttp://www.FourthWorld.com
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Compiling Livecode

2019-03-09 Thread Erik Beugelaar via use-livecode
Very interesting...
Thanks for sharing this info.

On 09/03/2019, 17:38, "use-livecode on behalf of Richard Gaskin via 
use-livecode"  wrote:

David Bovill wrote:

 > No one using docker?

https://hub.docker.com/r/techstrategies/livecode/

--
  Richard Gaskin
  Fourth World Systems
  Software Design and Development for the Desktop, Mobile, and the Web
  
  ambassa...@fourthworld.comhttp://www.FourthWorld.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Compiling Livecode

2019-03-09 Thread Richard Gaskin via use-livecode

David Bovill wrote:

> No one using docker?

https://hub.docker.com/r/techstrategies/livecode/

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Compiling Livecode

2019-03-07 Thread David Bovill via use-livecode
No one using docker? A Linux based laptop with every application as a
container has got to beat all this vmware?

On Thu, 7 Mar 2019 at 07:17, Phil Davis via use-livecode <
use-livecode@lists.runrev.com> wrote:

> After using Parallels for a few years, I realized I hate virtual
> environments. What I really do like, however, is having a Windows 10
> physical machine's desktop available in a window on my Mac, much like
> Mac-to-Mac Screen Sharing. (I recently discovered MS Remote Desktop - no
> going back!) I guess I could do something similar with machines running
> earlier versions of Windows but haven't tried yet.
>
> Phil Davis
>
>
> On 3/6/19 3:39 PM, Bob Sneidar via use-livecode wrote:
> > Don't have it switch. You can share anything, or else not. You cn use
> coherence view, or not. I personally like sharing my Mac environment with
> my PC environment (folder redirection and all that) because it makes it
> simple to collaborate between the two environments. Recently I was able to
> IMPORT a VMWare VM into Parallels, becaue the VMWare player wouldn't run
> the Virtual Machine I was given because it wasn't able to emulate some kind
> of processor mode! ICK! I hate crap like that!
> >
> > Bob S
> >
> >
> >> On Mar 6, 2019, at 03:57 , David Bovill via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >>
> >> Thanks Eric, I may well go that route. I've run Parallel before - but I
> >> found all the switching, and space it took up a bit much.
> >
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> >
> >
>
> --
> Phil Davis
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Compiling Livecode

2019-03-06 Thread Phil Davis via use-livecode
After using Parallels for a few years, I realized I hate virtual 
environments. What I really do like, however, is having a Windows 10 
physical machine's desktop available in a window on my Mac, much like 
Mac-to-Mac Screen Sharing. (I recently discovered MS Remote Desktop - no 
going back!) I guess I could do something similar with machines running 
earlier versions of Windows but haven't tried yet.


Phil Davis


On 3/6/19 3:39 PM, Bob Sneidar via use-livecode wrote:

Don't have it switch. You can share anything, or else not. You cn use coherence 
view, or not. I personally like sharing my Mac environment with my PC 
environment (folder redirection and all that) because it makes it simple to 
collaborate between the two environments. Recently I was able to IMPORT a 
VMWare VM into Parallels, becaue the VMWare player wouldn't run the Virtual 
Machine I was given because it wasn't able to emulate some kind of processor 
mode! ICK! I hate crap like that!

Bob S



On Mar 6, 2019, at 03:57 , David Bovill via use-livecode 
 wrote:

Thanks Eric, I may well go that route. I've run Parallel before - but I
found all the switching, and space it took up a bit much.


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode




--
Phil Davis


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Compiling Livecode

2019-03-06 Thread Bob Sneidar via use-livecode
Don't have it switch. You can share anything, or else not. You cn use coherence 
view, or not. I personally like sharing my Mac environment with my PC 
environment (folder redirection and all that) because it makes it simple to 
collaborate between the two environments. Recently I was able to IMPORT a 
VMWare VM into Parallels, becaue the VMWare player wouldn't run the Virtual 
Machine I was given because it wasn't able to emulate some kind of processor 
mode! ICK! I hate crap like that! 

Bob S


> On Mar 6, 2019, at 03:57 , David Bovill via use-livecode 
>  wrote:
> 
> Thanks Eric, I may well go that route. I've run Parallel before - but I
> found all the switching, and space it took up a bit much. 


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Compiling Livecode

2019-03-06 Thread Bob Sneidar via use-livecode
I just had some experience with the VMWare Player, and if you install it, it 
also installs 2 virtual network ports. I was not able to get my laptop to work 
with regular networking without disabling these 2 ports. I was not in any wise 
able to get those ports to bridge to my default network adapter. 

I stuck with Parallels a long time ago because of the ease of configuration. I 
was able to create MULTIPLE virtual adapters and be bridged to multiple VLANS 
that way (I managed a network with 15 VLANS). I was advised by VMWare that in 
order to do that I would have to find an obscure config file and edit it 
correctly, and *maybe* I could get that working. 

I haven't looked back since. That's MY 2¢

Bob S


> On Mar 5, 2019, at 13:33 , JJS via use-livecode 
>  wrote:
> 
> you could use vmware to run other OS's

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Compiling Livecode

2019-03-06 Thread David Bovill via use-livecode
Thanks Eric, I may well go that route. I've run Parallel before - but I
found all the switching, and space it took up a bit much. One reason for
choosing Linux for me would be too properly integrate my development
environment with how I work on the server. I rather like the idea of
running my entire laptop based environment in dockers and mirroring how my
servers work. That way I get to learn technology i can actually deploy
rather than working so hard to translate what I work on to something that
the server can run and then deploy at some reasonable scale. Still the
descriptions of laptop environments running on docker are a bit on the
experimental side for now...

On Tue, 5 Mar 2019 at 21:33, JJS via use-livecode <
use-livecode@lists.runrev.com> wrote:

> you could use vmware to run other OS's
>
> But you could also do a triple boot.
>
> It's easier to create a multi boot on a Mac(hardware) than creating a
> multiboot with hackintosh on a (win)PC
>
> because Windows and Linux run almost everywhere and apple provides
> drivers via Bootcamp
>
> Running MacOs on pc is more difficult as not all videocards/other
> hardware is supported
>
> for the first check out refind http://www.rodsbooks.com/refind/ and
> for hackintosh check out https://tonymacx86.com
>
> If you only want a dualboot Mac and Windows then Bootcamp is sufficient
>
>
> on my previous job i had a Macbook with Macos and win8.1 and win10
>
> now at home i have a PC with Win10/MacOS Mojave Hackintosh/Ubuntu Mate
>
>
> It taks patience to get it done
>
> So i would go for the Mac
>
> Op 5-3-2019 om 21:32 schreef Erik Beugelaar via use-livecode:
> > For multi-platform development I prefer a MacBook Pro (16GB+ and 500+
> SSD) with Parallels Desktop installed for testing/developing on both Linux
> and Windows.
> >
> > Just my 2 cents.
> >
> > On 05/03/2019, 20:40, "use-livecode on behalf of David Bovill via
> use-livecode"  use-livecode@lists.runrev.com> wrote:
> >
> >  I'll be testing on latest OSX.
> >
> >  I'm considering buying a new laptop set up for development of this
> sort.
> >  Will probably get another OSX laptop - but may consider getting a
> Linux
> >  beast if the development environment works well? I wonder what the
> best
> >  set-up is for developing for Livecode - including fancy low level
> stuff?
> >
> >  On Tue, 5 Mar 2019 at 14:01, Brian Milby via use-livecode <
> >  use-livecode@lists.runrev.com> wrote:
> >
> >  > The target platform link provides more details.  Trevor put some
> help up
> >  > for getting Windows versions to compile.  I’ve compiled Mac and
> Linux.
> >  > What OS/Version will you be using?
> >  >
> >  > Thanks,
> >  > Brian
> >  > On Mar 5, 2019, 7:35 AM -0500, David Bovill via use-livecode <
> >  > use-livecode@lists.runrev.com>, wrote:
> >  > > I'm reading up on compiling Livecode from source - will take
> the plunge
> >  > in
> >  > > the coming days - would like to read up on it. The docs here
> >  > >  are sparse... anyone
> written up
> >  > > their experience?
> >  > >
> >  > > On Sat, 2 Mar 2019 at 09:07, David Bovill <
> david.bov...@gmail.com>
> >  > wrote:
> >  > >
> >  > > > I’ve searched around but still nothing I can find regarding
> tree
> >  > shaking /
> >  > > > dead code elimination in C++.
> >  > > >
> >  > > > What I want to be able to do is not compile the whole engine,
> just the
> >  > > > code needed for the execution of the cgi. Is this possible?
> Is this on
> >  > the
> >  > > > road map?
> >  > > >
> >  > > > On Sun, 24 Feb 2019 at 18:38, David Bovill <
> david.bov...@gmail.com>
> >  > wrote:
> >  > > >
> >  > > > > I understand that Livecode uses the LLVM compiler
> infrastructure to
> >  > > > > create llvm bytecode that for instance emscripten can use to
> >  > transpile to
> >  > > > > javascript. I'm wandering if it is possible to do things
> like:
> >  > > > >
> >  > > > > - Export the server engine to llvm bytecode?
> >  > > > > - Take a some livecode script, do some tree shaking and get
> some nice
> >  > > > > compact bytecode export that uses only the bits needed by
> the
> >  > livecode
> >  > > > > script?
> >  > > > >
> >  > > > > Is any of this possible now, is it planned for or looks
> like it may
> >  > be
> >  > > > > possible in the nearish future / next couple of years?
> >  > > > >
> >  > > >
> >  > > ___
> >  > > use-livecode mailing list
> >  > > use-livecode@lists.runrev.com
> >  > > Please visit this url to subscribe, unsubscribe and manage your
> >  > subscription preferences:
> >  > > http://lists.runrev.com/mailman/listinfo/use-livecode
> >  > ___
> >  > use-livecode mailing list
> >  > 

Re: Compiling Livecode

2019-03-05 Thread JJS via use-livecode

you could use vmware to run other OS's

But you could also do a triple boot.

It's easier to create a multi boot on a Mac(hardware) than creating a 
multiboot with hackintosh on a (win)PC


because Windows and Linux run almost everywhere and apple provides 
drivers via Bootcamp


Running MacOs on pc is more difficult as not all videocards/other 
hardware is supported


for the first check out refind http://www.rodsbooks.com/refind/     and 
for hackintosh check out https://tonymacx86.com


If you only want a dualboot Mac and Windows then Bootcamp is sufficient


on my previous job i had a Macbook with Macos and win8.1 and win10

now at home i have a PC with Win10/MacOS Mojave Hackintosh/Ubuntu Mate


It taks patience to get it done

So i would go for the Mac

Op 5-3-2019 om 21:32 schreef Erik Beugelaar via use-livecode:

For multi-platform development I prefer a MacBook Pro (16GB+ and 500+ SSD) with 
Parallels Desktop installed for testing/developing on both Linux and Windows.

Just my 2 cents.

On 05/03/2019, 20:40, "use-livecode on behalf of David Bovill via use-livecode" 
 wrote:

 I'll be testing on latest OSX.
 
 I'm considering buying a new laptop set up for development of this sort.

 Will probably get another OSX laptop - but may consider getting a Linux
 beast if the development environment works well? I wonder what the best
 set-up is for developing for Livecode - including fancy low level stuff?
 
 On Tue, 5 Mar 2019 at 14:01, Brian Milby via use-livecode <

 use-livecode@lists.runrev.com> wrote:
 
 > The target platform link provides more details.  Trevor put some help up

 > for getting Windows versions to compile.  I’ve compiled Mac and Linux.
 > What OS/Version will you be using?
 >
 > Thanks,
 > Brian
 > On Mar 5, 2019, 7:35 AM -0500, David Bovill via use-livecode <
 > use-livecode@lists.runrev.com>, wrote:
 > > I'm reading up on compiling Livecode from source - will take the plunge
 > in
 > > the coming days - would like to read up on it. The docs here
 > >  are sparse... anyone written up
 > > their experience?
 > >
 > > On Sat, 2 Mar 2019 at 09:07, David Bovill 
 > wrote:
 > >
 > > > I’ve searched around but still nothing I can find regarding tree
 > shaking /
 > > > dead code elimination in C++.
 > > >
 > > > What I want to be able to do is not compile the whole engine, just 
the
 > > > code needed for the execution of the cgi. Is this possible? Is this 
on
 > the
 > > > road map?
 > > >
 > > > On Sun, 24 Feb 2019 at 18:38, David Bovill 
 > wrote:
 > > >
 > > > > I understand that Livecode uses the LLVM compiler infrastructure to
 > > > > create llvm bytecode that for instance emscripten can use to
 > transpile to
 > > > > javascript. I'm wandering if it is possible to do things like:
 > > > >
 > > > > - Export the server engine to llvm bytecode?
 > > > > - Take a some livecode script, do some tree shaking and get some 
nice
 > > > > compact bytecode export that uses only the bits needed by the
 > livecode
 > > > > script?
 > > > >
 > > > > Is any of this possible now, is it planned for or looks like it may
 > be
 > > > > possible in the nearish future / next couple of years?
 > > > >
 > > >
 > > ___
 > > use-livecode mailing list
 > > use-livecode@lists.runrev.com
 > > Please visit this url to subscribe, unsubscribe and manage your
 > subscription preferences:
 > > http://lists.runrev.com/mailman/listinfo/use-livecode
 > ___
 > use-livecode mailing list
 > use-livecode@lists.runrev.com
 > Please visit this url to subscribe, unsubscribe and manage your
 > subscription preferences:
 > http://lists.runrev.com/mailman/listinfo/use-livecode
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Compiling Livecode

2019-03-05 Thread Erik Beugelaar via use-livecode
For multi-platform development I prefer a MacBook Pro (16GB+ and 500+ SSD) with 
Parallels Desktop installed for testing/developing on both Linux and Windows.

Just my 2 cents.

On 05/03/2019, 20:40, "use-livecode on behalf of David Bovill via 
use-livecode"  wrote:

I'll be testing on latest OSX.

I'm considering buying a new laptop set up for development of this sort.
Will probably get another OSX laptop - but may consider getting a Linux
beast if the development environment works well? I wonder what the best
set-up is for developing for Livecode - including fancy low level stuff?

On Tue, 5 Mar 2019 at 14:01, Brian Milby via use-livecode <
use-livecode@lists.runrev.com> wrote:

> The target platform link provides more details.  Trevor put some help up
> for getting Windows versions to compile.  I’ve compiled Mac and Linux.
> What OS/Version will you be using?
>
> Thanks,
> Brian
> On Mar 5, 2019, 7:35 AM -0500, David Bovill via use-livecode <
> use-livecode@lists.runrev.com>, wrote:
> > I'm reading up on compiling Livecode from source - will take the plunge
> in
> > the coming days - would like to read up on it. The docs here
> >  are sparse... anyone written up
> > their experience?
> >
> > On Sat, 2 Mar 2019 at 09:07, David Bovill 
> wrote:
> >
> > > I’ve searched around but still nothing I can find regarding tree
> shaking /
> > > dead code elimination in C++.
> > >
> > > What I want to be able to do is not compile the whole engine, just the
> > > code needed for the execution of the cgi. Is this possible? Is this on
> the
> > > road map?
> > >
> > > On Sun, 24 Feb 2019 at 18:38, David Bovill 
> wrote:
> > >
> > > > I understand that Livecode uses the LLVM compiler infrastructure to
> > > > create llvm bytecode that for instance emscripten can use to
> transpile to
> > > > javascript. I'm wandering if it is possible to do things like:
> > > >
> > > > - Export the server engine to llvm bytecode?
> > > > - Take a some livecode script, do some tree shaking and get some 
nice
> > > > compact bytecode export that uses only the bits needed by the
> livecode
> > > > script?
> > > >
> > > > Is any of this possible now, is it planned for or looks like it may
> be
> > > > possible in the nearish future / next couple of years?
> > > >
> > >
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Compiling Livecode

2019-03-05 Thread David Bovill via use-livecode
I'll be testing on latest OSX.

I'm considering buying a new laptop set up for development of this sort.
Will probably get another OSX laptop - but may consider getting a Linux
beast if the development environment works well? I wonder what the best
set-up is for developing for Livecode - including fancy low level stuff?

On Tue, 5 Mar 2019 at 14:01, Brian Milby via use-livecode <
use-livecode@lists.runrev.com> wrote:

> The target platform link provides more details.  Trevor put some help up
> for getting Windows versions to compile.  I’ve compiled Mac and Linux.
> What OS/Version will you be using?
>
> Thanks,
> Brian
> On Mar 5, 2019, 7:35 AM -0500, David Bovill via use-livecode <
> use-livecode@lists.runrev.com>, wrote:
> > I'm reading up on compiling Livecode from source - will take the plunge
> in
> > the coming days - would like to read up on it. The docs here
> >  are sparse... anyone written up
> > their experience?
> >
> > On Sat, 2 Mar 2019 at 09:07, David Bovill 
> wrote:
> >
> > > I’ve searched around but still nothing I can find regarding tree
> shaking /
> > > dead code elimination in C++.
> > >
> > > What I want to be able to do is not compile the whole engine, just the
> > > code needed for the execution of the cgi. Is this possible? Is this on
> the
> > > road map?
> > >
> > > On Sun, 24 Feb 2019 at 18:38, David Bovill 
> wrote:
> > >
> > > > I understand that Livecode uses the LLVM compiler infrastructure to
> > > > create llvm bytecode that for instance emscripten can use to
> transpile to
> > > > javascript. I'm wandering if it is possible to do things like:
> > > >
> > > > - Export the server engine to llvm bytecode?
> > > > - Take a some livecode script, do some tree shaking and get some nice
> > > > compact bytecode export that uses only the bits needed by the
> livecode
> > > > script?
> > > >
> > > > Is any of this possible now, is it planned for or looks like it may
> be
> > > > possible in the nearish future / next couple of years?
> > > >
> > >
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Compiling Livecode

2019-03-05 Thread Brian Milby via use-livecode
The target platform link provides more details.  Trevor put some help up for 
getting Windows versions to compile.  I’ve compiled Mac and Linux.  What 
OS/Version will you be using?

Thanks,
Brian
On Mar 5, 2019, 7:35 AM -0500, David Bovill via use-livecode 
, wrote:
> I'm reading up on compiling Livecode from source - will take the plunge in
> the coming days - would like to read up on it. The docs here
>  are sparse... anyone written up
> their experience?
>
> On Sat, 2 Mar 2019 at 09:07, David Bovill  wrote:
>
> > I’ve searched around but still nothing I can find regarding tree shaking /
> > dead code elimination in C++.
> >
> > What I want to be able to do is not compile the whole engine, just the
> > code needed for the execution of the cgi. Is this possible? Is this on the
> > road map?
> >
> > On Sun, 24 Feb 2019 at 18:38, David Bovill  wrote:
> >
> > > I understand that Livecode uses the LLVM compiler infrastructure to
> > > create llvm bytecode that for instance emscripten can use to transpile to
> > > javascript. I'm wandering if it is possible to do things like:
> > >
> > > - Export the server engine to llvm bytecode?
> > > - Take a some livecode script, do some tree shaking and get some nice
> > > compact bytecode export that uses only the bits needed by the livecode
> > > script?
> > >
> > > Is any of this possible now, is it planned for or looks like it may be
> > > possible in the nearish future / next couple of years?
> > >
> >
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Compiling LiveCode on Sierra

2017-07-29 Thread Mark Waddingham via use-livecode

On 2017-07-29 23:10, Monte Goulding via use-livecode wrote:

Hmm… I don’t do that and I seem to get along ok. Indeed in the newer
versions of Xcode I can witch branches then regenerate the config and
Xcode is fine with that.


Interesting - maybe something subtle has changed in recent months which 
means the problem no longer exists - mine is a rather 'brute force' 
approach.


Warmest Regards,

Mark.

--
Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Compiling LiveCode on Sierra

2017-07-29 Thread Monte Goulding via use-livecode

> On 30 Jul 2017, at 7:04 am, Mark Waddingham via use-livecode 
>  wrote:
> 
> Completely unrelated to the SDK thing, but it is worth mentioning (as Brian 
> obviously also noticed issues with develop-8.1)...
> 
> If you are building from source keep an entirely separate clone for 
> develop-8.1 and develop - don't switch within them to branches of the 
> opposite base as you'll end up getting funky errors whilst building quite a 
> lot.
> 
> We changed the way prebuilts work on develop compared to develop-8.1 - and 
> the two methods don't get along very well (at all, really!)

Hmm… I don’t do that and I seem to get along ok. Indeed in the newer versions 
of Xcode I can witch branches then regenerate the config and Xcode is fine with 
that.

Cheers

Monte
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Compiling LiveCode on Sierra

2017-07-29 Thread Mark Waddingham via use-livecode

On 2017-07-29 23:00, Monte Goulding via use-livecode wrote:

Ah, yes, it doesn’t do anything if the sdk is already linked in.
There’s a few things I’d like to change about that script. One is it
should link in any SDKs that are in the cache or found in the other
xcode app bundles rather than just the specific list. At the moment
it’s really annoying that for develop-8.1 you need 10.8 but for
develop you need 10.9 but the script doesn’t do both on either branch
so you end up having to modify the script before you run it. Every
time I run it I think I really should fix this but what I’m actually
meant to be doing that day always makes me forget about it until the
next time ;-)


Completely unrelated to the SDK thing, but it is worth mentioning (as 
Brian obviously also noticed issues with develop-8.1)...


If you are building from source keep an entirely separate clone for 
develop-8.1 and develop - don't switch within them to branches of the 
opposite base as you'll end up getting funky errors whilst building 
quite a lot.


We changed the way prebuilts work on develop compared to develop-8.1 - 
and the two methods don't get along very well (at all, really!)


Warmest Regards,

Mark.

--
Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Compiling LiveCode on Sierra

2017-07-29 Thread Monte Goulding via use-livecode

> On 30 Jul 2017, at 2:50 am, Brian Milby via use-livecode 
>  wrote:
> 
> Somehow I did get all of my Xcode installs messed up so none would launch
> last night.  After I reinstalled 8.3, I ran the script to build the links.
> Then I decided that I would rather cache them.  When I deleted the broken
> versions of Xcode, I ended up having to relink manually since all of the
> SDK links pointed to the old apps instead of the cache.  So, if you want to
> cache the SDKs and delete the other copies of Xcode, use the "sh
> setup_xcode_sdks.sh -cache" method first.

Ah, yes, it doesn’t do anything if the sdk is already linked in. There’s a few 
things I’d like to change about that script. One is it should link in any SDKs 
that are in the cache or found in the other xcode app bundles rather than just 
the specific list. At the moment it’s really annoying that for develop-8.1 you 
need 10.8 but for develop you need 10.9 but the script doesn’t do both on 
either branch so you end up having to modify the script before you run it. 
Every time I run it I think I really should fix this but what I’m actually 
meant to be doing that day always makes me forget about it until the next time 
;-)

Cheers

Monte
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Compiling LiveCode on Sierra

2017-07-29 Thread Brian Milby via use-livecode
Thanks for the pointers.  I was able to get the build working this morning
and confirm what was needed to make the AS Dictionary visible in the build.

Somehow I did get all of my Xcode installs messed up so none would launch
last night.  After I reinstalled 8.3, I ran the script to build the links.
Then I decided that I would rather cache them.  When I deleted the broken
versions of Xcode, I ended up having to relink manually since all of the
SDK links pointed to the old apps instead of the cache.  So, if you want to
cache the SDKs and delete the other copies of Xcode, use the "sh
setup_xcode_sdks.sh -cache" method first.

Thanks again,
Brian

On Sat, Jul 29, 2017 at 4:24 AM, Monte Goulding via use-livecode <
use-livecode@lists.runrev.com> wrote:

> > Recent versions of Xcode have a setting in an internal plist to (by
> default) ignore the 10.9 SDK - this can be solved by:
> >
> > "edit (with Xcode) the MinimumSDKVersion key value in
> /Applications/Xcode.app/Contents/Developer/Platforms/
> MacOSX.platform/Info.plist"
>
> We have a script that does Xcode tinkering in tools/setup_xcode_sdks.sh &
> .py.
>
> PS if you are going to run this against an automagically downloaded from
> the app store version of Xcode you will need to mess with permissions in
> the Xcode app bundle before you do it because you won’t be the owner. Also
> make sure you open Xcode before running the script as the initial setup
> stuff Xcode does must be done first otherwise it bricks the app.
>
> Cheers
>
> Monte
>
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Compiling LiveCode on Sierra

2017-07-29 Thread Monte Goulding via use-livecode
> Recent versions of Xcode have a setting in an internal plist to (by default) 
> ignore the 10.9 SDK - this can be solved by:
> 
> "edit (with Xcode) the MinimumSDKVersion key value in 
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Info.plist"

We have a script that does Xcode tinkering in tools/setup_xcode_sdks.sh & .py. 

PS if you are going to run this against an automagically downloaded from the 
app store version of Xcode you will need to mess with permissions in the Xcode 
app bundle before you do it because you won’t be the owner. Also make sure you 
open Xcode before running the script as the initial setup stuff Xcode does must 
be done first otherwise it bricks the app.

Cheers

Monte
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Compiling LiveCode on Sierra

2017-07-29 Thread Mark Waddingham via use-livecode

On 2017-07-29 07:11, Brian Milby via use-livecode wrote:

Is it possible to compile the LiveCode IDE on Mac OS 10.12.6?


Yes - some of us (at LiveCode) use 10.11, some 10.12. We also have a 
10.9 machine which is more of a 'hot-desk'. (One of our test machines is 
10.10 IIRC, so we have all bases covered). [ Panos has also recently 
setup a 10.13 beta machine - not liking some of the crash reports we are 
seeing there - one wonders what Apple are doing with that! ].


I tried to follow the instructions on GitHub.  I have the Xcode 
versions
downloaded.  I had to use sudo to get the setup_xcode_sdks.sh to 
finish.
First pass was missing Java, so went back and installed that.  Was able 
to
configure, but build complains about a missing SDK.  Finally got it to 
a

point where I saw an error message that the earliest SDK that could be
built against is 10.11 so I tried to edit some files and try again.  It 
got

further, but failed somewhere in the Skia library.


We currently support the engine source being compiled against the 10.9 
SDK - but I think it *should* compile against 10.11 SDK and 10.12 SDK (I 
believe Ali made some tweaks to ensure the latter lately).


Recent versions of Xcode have a setting in an internal plist to (by 
default) ignore the 10.9 SDK - this can be solved by:


"edit (with Xcode) the MinimumSDKVersion key value in 
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Info.plist"


[ Taken from here : https://forums.developer.apple.com/thread/43381 ]

Of course, you'll need to grab the 10.9 SDK from an older version of 
Xcode. Apple being Apple don't make these easily available (because, of 
course, if you are using the latest Xcode then you can't be using a 
project which has to also compile on older Xcodes for testing purposes 
as, obviously, everyone in the Apple world always has the latest OS 
don't they! Ahem).


Hope this helps - if not it might be worth trying to capture the 
attention of one of us on gitter.io (LiveCode channel) so we can help 
diagnose the issues in 'real-time'.


Warmest Regards,

Mark.

P.S. None of us tend to sit on gitter.io - we can only process so many 
simultaneous inputs - however gitter does send email notifications when 
someone posts something on there and usually it doesn't take too long 
for one of us to notice (weekends, notwithstanding!).


--
Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode