aot

What's the difference between ahead of time compiled code and natively compiled code

i came across ahead-of-time (aot) compilation in some writing by Miguel de Icaza about producing applications for iphone using mono. It sounds like what results is native code. Is this so or what is the difference? ...

mono AOT on Windows exe gives me an DLL

I'm on Windows and I'm trying ahead of time compilation on Main.exe that's been compiled with the Mono C# compiler gmcs (also tried mcs). >mono --aot Main.exe Mono Ahead of Time compiler - compiling assembly C:\test\Main.exe Code: 21 Info: 4 Ex Info: 8 Class Info: 30 PLT: 2 GOT Info: 6 GOT Info Offsets: 8 GOT: 12 Executing the nati...

Axapta: Find table by name in AOT

I would like to query the AOT to see if a table name exists using X++. Can anyone point me in the right direction or provide some sample code for doing that? If table exists with the name (str tableName) provided, return true; else, return false. Thanks ...

Mono AOT Segmentation Fault - Strange Problem

I wanted to test Mono AOT, so I wrote a simple console application with MonoDevelop: using System; namespace abc { public class Program { public static void Main() { Console.WriteLine("Hello World!"); } } } It created a file named "abc.exe" in bin/debug. When I try to do: mono abc.exe it worked. S...

When aiming to AOT compile a ruby script with MacRuby is there any restriction on the language?

I am looking into using MacRuby and am interested in it's ability to AOT compile ruby code down to an executable. I am wondering though whether this places a restriction on the code in any way? Is there a subset of ruby which is supported or can i go ahead and perform all the meta-magic i want and still have the code AOT compiled? ...

mono --aot with MinGW: unknown pseudo-op: `.local'

Can I user mono's AOT feature to natively "pre-compile" .NET DLLs (and or EXEs) to make them harder to reverse engineer? If so, how do I get mono/AOT working in Windows 7? (I'm running x64 but the app is targeting x86 explicitly.) I just installed Mono 2.6.3 and MinGW 5.1.6 and I'm trying to AOT compile an exe (or a dll, it doesn't matt...

Can I use mono's AOT feature to natively "pre-compile" .NET DLLs/EXEs to make them harder to reverse engineer?

Can I use mono's AOT (Ahead of Time compilation) feature to natively "pre-compile" all or part of some of my own .NET DLLs (and or EXEs) to make them harder to reverse engineer? I'm using Windows (7 / x64 but I have an x86 XP machine as well) and .NET 3.5 (VS 2008) and I'm curious if mono/AOT can be/has been used for this purpose? (Tying...

Axapta: Is it possible to move AOT nodes programatically?

Is it possbile to move aotnode in axapta through code(I want to achive the same movement as done via alt-up, alt-down) Dynamics AX 2009 has AOTmove method, but when I try #AOT ProjectNode root; //SysContextMenuAOT ctx = new SysContextMenuAOT(); ProjectGroupNode firstChild; ProjectGroupNode secondChild; ; //root=ctx.first(); root = info...

Questions about possible java(or other memory managed language) optimizations

From what I have read java (usually) seems to compile java to not very (is at all?) optimised java bytecode, leaving it to the jit to optimise. Is this true? And if it is has there been any exploration (possibly in alternative implementations) of getting the compiler to optimise the code so the jit has less work to do (is this possible)?...

How to pass a typed collection from clojure to java?

I know the basics of clojure/java interop: calling java from clojure and vice versa. However, I was not able to return a typed collection from clojure to java. I am trying to see something of that nature List<TypedObject> from the java code which is calling into clojure. Java Object: public class TypedObject { private OtherType1 _p...

I am in quest of a less trivial example of java / clojure interop.

Does anybody want to answer my question linked here how-to-pass-a-typed-collection-from-clojure-to-java , by providing a clear example, for the rest of us who are trying to sneak clojure in their existing java stack? ...

Free AOT Java compiler

Does anyone know some free AOT Java compiler? I have found just one - http://gcc.gnu.org/java/. ...

How can i minimize the AOT compilation in leiningen (Clojure)

When you create a Clojure project with leiningen all the *.clj-files are compiled AOT. Normally the AOT compilation is not necessary and I would like to minimize it. This is necessary for me to raise acceptance of Clojure as a complement in a Java-dominated environment. It is easier to "sell" a single class-file as the glue together wit...