compiled

What is the best approach to both modularity and platform independence?

I hope this question does not come off as broad as it may seem at first. I am designing a software application in my <sarcasm>voluminous</sarcasm> spare time. I would like it to be both cross-platform and modular. At this point, because I am still in the planning phase, I can pick practically any language and toolset. This makes thin...

Are there benefits to Classic ASP over ASP.net

Having worked with Classic ASP for about 2 years now by creating a few 100 simple web forms I can't see a good reason for switching to .net; however, I'm not that versed in .net so I'm sure I could be missing a few things. Some points that I often hear around work can be found here: http://www.packtpub.com/article/Classic-ASP (not that ...

Compiled, strongly-typed alternative to .NET?

Is there a programming language suitable for building web applications, that is compiled, strongly-typed, and isn't ASP.NET? I thought of using Mono (http://www.mono-project.com/), but I wonder if there are any other alternatives. (If the language and framework are open-source, that's a big plus!) ...

Pre compiling a very large regular expression

Hi, I am having a very strange problem. I have a very large regular expression searching for certain words in some text (RegEx looks something like this: (?i)\b(a|b|c|d...)\b; and so on where a, b, c, d, represent words). Anyway, I put it in a pre compiled assembly to speed things up a bit, however the problem is that pre compiled regex...

Way to have compiled python files in a separate folder?

Is it possible to have Python save the .pyc files to a separate folder location that is in sys.path? /code foo.py foo.pyc bar.py bar.pyc To: /code foo.py bar.py /code_compiled foo.pyc bar.pyc I would like this because I feel it'd be more organized. Thanks for any help you can give me. ...

Getting distutils to install prebuilt compiled libraries?

I manage an open source project (Remix, the source is available there) written in python. We ask users to run python setup.py install to install the software. Recently we added a compiled C++ package (a port of SoundTouch -- go to trunk/externals in the source to see it.) We'd like the setup.py file that installs the base Remix libraries...

Why convert code in one language to another?

I have heard of some compilers that convert code in one high level language to another e.g Shedskin that converts python code to optimized C++. I was wondering why would one ever try to do that. Why not directly write in the desired language itself? The only reason I could think of was may be compiled languages like C/C++ are better tha...

what is the fastest way of calling and executing a function in C?

I have a lot of functions(huge list) defined and compiled. And I use function pointers to call and execute the functions by sending arguments dynamically during runtime. It is an iterative process involving more than hundred thousand function calls every iteration. I want to know which is the efficient way of calling an compiled functio...

Workaround for LINQ to SQL Entity Identity Caching and Compiled Query Bug?

I've come across what appears to be a bug in linq to sql where identity caching does not work when performing primary key queries inside of a compiled query. I wrote the following sample to demonstrate the usage of identity caching. It only executes one call to the database the first time it's hit, every time after that it retrieves the...

How can I use C++ code to interact with PHP?

I know C++ from college, vaguely. But I was reading somewhere that sometimes PHP is simply not fast enough and that real compiled code has to sometimes "Do the heavy lifting" what is the api in C++ to do this? Or whats the best way? I havent the slightest idea. What I do have is so experience writing old school C++, a linux box, a C+...

Interpreted vs. Compiled Languages for Web Sites (PHP, ASP, Perl, Python, etc.)

I build database-driven web sites. Previously I have used Perl or PHP with MySQL. Now I am starting a big new project, and I want to do it in the way that will result in the most responsive possible site. I have seen several pages here where questions about how to optimize PHP are criticized with various versions of "it's not worth goi...

Advantages of ASP.Net compiled model?

I'm working with a PHP developer who is, shall we say, unhappy with .NET. His complaints include having to rebuild the web application solution for every test (though I pointed out that this is usually only necessary if a .cs file has been changed, not interface .aspx files), having to include every file in the solution that is required ...

What is the advantages an interpreted language has over a compiled language?

Possible Duplicate: Whats with the love of dynamic Languages I have already read this, but I do not get it. What use is making your own interpreter. Also, it says platform independence. After all the degree of platform independence is limited by what all platforms your interpreter can run on. So, I don't see any advantage. Als...

Compiled dynamic language

Greetings, I search for a programming language for which a compiler exists and that supports self modifying code. I’ve heared that Lisp supports these features, but I was wondering if there is a more C/C++/D-Like language with these features. To clarify what I mean: I want to be able to have in some way access to the programms code at...

Linq Query Expression reuse

Post Edited Would this be possible ? Have a query expression that is precompiled i.e private static Func<SmwrDataContext, int, IQueryable<Xyz>> _validXyzs = CompiledQuery.Compile((Context context, int Id) => from xyz in _db.XYZs join abc in _db.ABCs on xyz.Id equa...

Linq Compiled Queries and int[] as parameter

Hello , i'm using the following Linq to Sql compiled query. private static Func<MyDataContext, int[], int> MainSearchQuery = CompiledQuery.Compile((MyDataContext db, int[] online ) => (from u in db.Users where online.Contains(u.username) select u)); I know it is not possible to use sequence input pa...

Reasons to not compile

Having been landed with a Ruby project, I have been sceptical about the decision to use Ruby due to performance. I was excited to discover JRuby with its Java integration. This has made the project massively easier for me. And now I have just been totally tickled even more to discover that JRuby can be compiled down to Java bytecode . ...

Javascript compiled or not? Check inside....

Note that I am not experienced with Javascript. If a javascript code starts like this: javascript:var _0x89f8=["\x69\x6E\x6E\x65\x72\x48\x54\x4D\x4C","\x61\x70\x70\x34\x39\x34\x39\x37\x35\x32\x38\x37\x38\x5F\x64\x64","\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x42\x79\x49\x64","\x3c\x61\x20\x69\x64\x3d\x22\x73\x75\x67\x67\x65\x73\x74\x22\...

ASP.NET Compiled vs Uncompiled DB qualifiers

We have an ASP.NET application that uses SQL statements, where table names are unqualified. When compiled, it works fine, but when uncompiled, it complains and errors out, saying these tables dont' exist. (Qualified name looks like Select * from MyDatabase.mySchema.MyTable ; Unqualified like Select * from MyTable) If you try these q...

Interpreted vs. Compiled vs. Late-Binding

Python is compiled into an intermediate bytecode(pyc) and then executed. So, there is a compilation followed by interpretation. However, long-time Python users say that Python is a "late-binding" language and that it should`nt be referred to as an interpreted language. How would Python be different from another interpreted language? Co...