programming to install external libraries - system

Which best programming language to install external libraries offline (with no internet access)?
it is for reverse engineering.
python, c, go, system programming

Related

Create web site using Objective-c

Today when i was reading article about APPCode IDe they had written they support CSS, Javascript & html . After this I surfed few website where i found some info about Cappuccino which is exactly like xocde IDe.
How far the objective-c supports in creating web site application, does the objective-c ends with iOS & OSx are they any frameworks which we used in creating UI for web site .
XCode IDE supports development on C, C++, Objective-C, Objective-C++, Java, AppleScript, Python and Ruby mainly. Although you can write some HTML files it is not the best choice as IDE for web development. There are plenty many outside like TextMate, Coda, or the two you mentioned APPCode and Cappuccino.
Objective-C, programming language, mainly purpose is to develop software for iOS and OSX, but there some frameworks that lets you use it for web development like GNUstepWeb or fronthkit. However it hasn't been updated since 2010, probably because of more mature frameworks like Django and Rails.
Xcode is a great IDE if you are doing iOS / Mac OS X development.
Cappuccino, as a framework (not an IDE), uses objective-j and patterns found in Apple's Cocoa framework.
For Cappuccino development, I design my user interfaces in Xcode and write in Sublime Text 2.
Apple's framework (and Cappuccino) is complex, but worth it. As a hobbyist developer, it took a while to learn.
If you are looking to make desktop quality apps for the web, I'd +1 Cappuccino.

What do I need to know to write code for arm processors, besides the relevant compiler?

Are there any major differences from PC?
I haven't done any ARM programming myself though I have run along this fairly extensive piece of online documentation; it is official, from ARM.
ARM Compiler toolchain Developing Software for ARM Processors v4.1
http://infocenter.arm.com/help/topic/com.arm.doc.dui0471c/index.html
A brief rundown of what is included:
Description of key features of ARM Architecture Versions
Notes on Embedded Software Development
Documentation of the ARM C Library
Mixing of C, C++ and Assembly
Debugging
Semihosting
Useful command line options
Etc

Hosting .fsx scripts inside larger applications

I want to expose my F# libraries as a scriptable tool for data manipulation.
Optimally, I want this scripting facility to not require a full F# install with fsi and so on.
Is there a way to link into the FSI libraries to execute scripts from F# code? My google-fu is failing me on this one, and the F# sources for fsi are a bit tangled.
No, there's no hosting API for F# interactive sessions. fsi.exe itself is factored into a lightweight client process that handles the interaction, and a background server process that does the heavy lifting. (The server process is built atop the F# compiler DLLs, which is why you need a full install of F#, and not just the F# runtime redist. BTW, exposing an API for this is a somewhat common request and something the F# team will consider for a future release.)
That said, if clients do have a full install of F#, then you can always just ship some scripts (.fsx files) clients can #load, or libraries (.dll files) that clients can #r to start off their interactive fsi sessions. This is definitely a good mode for using F# interactive for data manipulation and exploration.

Do VMs like LLVM or PARROT allow usage of the same library from multiple languages?

Is it possible to use one framework written in one Parrot (LLVM) language in any other Parrot (LLVM) language?
(Like usage of .NET Framework from any CLR language)...
Parrot and LLVM are two different things made by two different organizations.
Parrot is a VM, and LLVM is a VM that can also compile statically.
Edit
Assuming the comments to my answer are correct:
LLVM allows you to call other LLVM code and also external C like libraries.
Parrot allows you to call other Parrot code, but not external C like libraries.
http://en.wikipedia.org/wiki/Comparison_of_application_virtual_machines
LLVM
Stands for low-level virtual machine. It uses low-level opcodes that easily map to native machine code.
Languages: Fortran, C, C++
Applications: Systems Programming, Compiler Development
Parrot:
This is a high-level virtual machine. Its opcodes are much higher level then those in most virtual machines. This allows Parrot to generate efficient native code for dynamic languages.
Languages: Ruby, Perl, PHP
Applications: server-side scripting

OK Programming language from USB stick with no installation

I'm looking for a compiler or interpreter for a language with basic math support and File IO which can be executed directly from a memorystick in either Linux or Windows. Built in functionality for basic datastructures and sorting/searching would be a plus.
(I've read about movable python, but it only supports windows)
Thank you
Not sure what are the issues there for the other languages, but I am pretty sure that Lua will work fine on such environment.
It is perfect for your requirements: basic I/O, math functions, excellent data structures (all based on numeric and associative array, with any kind of key/values, allowing the most complex operations).
Bonus: very simple to learn (for the bases, at least), readable, and powerful when you start to dig. And it starts to have a number of useful libraries, sockets, regexes and parsers, GUI, etc.
It is just a single binary file, no install at all, no registry access, no file access (beyond reading the binary and script!) if not requested, totally transparent: it is often used in embedded system, often memory constrained, on Roms, etc.
There is a python distribution called Movable Python which is designed to do exactly that. It might do what you want. Also, MinGW/MSYS will run on Windows with no registry entries or other installation beyond placing the files in a directory tree - all you need to do is set up the relevant directories in the path, which can be done in a batch file.
The Java JDK easily fits on a stick, and does not require installation; You can install it to a PC first and then just copy the install directory to the stick. I presume you can do the same for the Linux JDK.
And there's a ton of good text editors that don't require installation.
Not sure if it still applies to current versions, but I have an ancient perl.exe (version 5.001, from 1994 or 1995) that still works perfectly fine as a no-installation single executable.
If you can tolerate TCL, it's hard to beat a tclkit
TCC (the Tiny C Compiler) is a full implementation of C in a really small package. You can even write shell scripts in C:
#!/usr/local/bin/tcc -run
#include <stdio.h>
int main()
{
printf("Hello World\n");
return 0;
}
TCC is available for any Unix-like platform, and also for Windows.
I've done exactly that with Ruby. Worked well.
I'm way late for this party, but I thought I'd weigh in anyway.
I currently have a Windows-usable USB stick with the following installed on it (for Windows):
Languages
Java
Erlang
Fantom
Groovy
Haskell
jacl (JVM-based Tcl)
JavaFX
JRuby (JVM-based Ruby)
Jython (JVM-based Python)
NASM
nice
pnuts
Rexx
Scala
SISC (JVM-based Scheme)
Sleep
Tcl
Prolog
gawk (via GnuWin32 and MinGW/MSys)
jawk (JVM-based AWK)
ANTLR
Clojure
JBasic (JVM-based BASIC)
Tuprolog (JVM-based Prolog)
Rhino (JVM-based Javascript)
YASM
Lua
Kahlua (JVM-based Lua)
C (via GnuWin32 and MinGW/MSys)
C++ (via GnuWin32 and MinGW/MSys)
Fortran77 (via GnuWin32 and MinGW/MSys)
Ada (via GnuWin32 and MinGW/MSys)
Programming Tools
jEdit (JVM-based programmer's editor)
Ant (JVM-based build tool)
Maven 2 (JVM-based build tool)
vi (via GnuWin32 and MinGW/MSys)
Vim
CMake
gmake (via GnuWin32 and MinGW/MSys)
Leiningen
Subversion
Fossil
ANTLRworks
ctags/etags
Geek Toys
All SIMH emulators, with networking if available
Several operating systems, utilities, etc. for same
And a cast of dozens in key libraries, plus the Geronimo application server.
Yes, this is a single USB stick, and I probably missed an item here or there while making this list. It's amazing what you can run off of a USB stick these days.
http://smallbasic.sourceforge.net/
Runs anywhere (even mobiles) and has everything you need.
You could use DevCpp, it comes with Mingw 3.x or CodeLite (Mingw 4.x) for C/C++. For Pascal you can use DevPas, for Python web development try InstantDjango or better yet Web2py (very nice indeed!), for Ruby you have InstanRails, for Perl you got a complete enviroment (even a C compiler!) with StrawberryPerl. You could install cygwin on the USB drive. There are a lot more options out there. Interested in a LISP like portable/cross-platform and little language? Try newlisp (its a gem!). Also you could run almost anything (linux or windows based) on a portable VM under Portable VirtualBox/VMplayer or QEmu with a performance tax ;).
Why not C++? You can statically link in any external librarys assuming there lisence allows it, and you won't have any external dependencies.