Skip to main content

Home/ Programming Everything!/ Group items tagged compilers

Rss Feed Group items tagged

Aasemoon =)

Demonstrating a Mini-Compiler with a Stack-Machine Program that Calculates Factorials -... - 0 views

  • In Stack Machines, Expression Evaluation, and the Magic of Reverse Polish, I showed how expressions can be evaluated by rewriting them in reverse Polish and translating this into machine-code instructions for a stack machine. I demonstrated with a stack-machine interpreter that I'd written as part of a working model of a Pascal compiler. But as well as expressions, the compiler needs to compile assignments and jumps, so — in my progress towards explaining the compiler — I'm going to extend the machine code so it can handle these. I'll demonstrate by interpreting a program that calculates five factorial.
roydesuza

All possible ways to run java program. - 0 views

  •  
    During compilation phase Java compiler compiles the source code and generates bytecode. This intermediate bytecode is saved in form of a .class file. In second phase, Java virtual machine (JVM) also called Java interpreter takes the .class as input and generates output by executing the bytecode. Java is an object oriented programming language; therefore, a program in Java is made of one or more classes. No matter how trivial a Java program is, it must be written in form of a class.
Andrey Karpov

On Compilers and Interpreters - 0 views

  •  
    Annotation: i've started to become more and more interested in compilers, interpreters and programming language design overall, so i thought of sharing this bunch of stuff i've found (and mostly still have to read :< ) that might be useful to somebody… my plan is to update the list as i find more resources i haven't (and won't) include links to official docs because it's obvious to me that people should look there first ;P.
Andrey Karpov

Online IDE & Debugging Tool - 0 views

shared by Andrey Karpov on 01 Apr 13 - Cached
  •  
    C/C++, Java, PHP, Python, Perl and 40+ compilers and interpreters
Andrey Karpov

Will It Optimize? - 0 views

  •  
    See how well you know (or can anticipate) gcc's optimizer. For each question, the left box contains some code, while the right box contains code that purports to do the same thing, but that illustrates a particular optimization. Will gcc apply that optimization? Put another way, will the code on the left be as fast as the code on the right, when compiled with an optimizing gcc?
Andrey Karpov

Visual C++ project model - 0 views

  •  
    This article covers the structure of Visual C++ project model (VCProject). Also included are the cases of using the project model for enumeration of project elements and obtaining their compilation properties through the corresponding configurations.
Aasemoon =)

Facebook Developers | HipHop for PHP: Move Fast - 0 views

  • Today I'm excited to share the project a small team of amazing people and I have been working on for the past two years; HipHop for PHP. With HipHop we've reduced the CPU usage on our Web servers on average by about fifty percent, depending on the page. Less CPU means fewer servers, which means less overhead. This project has had a tremendous impact on Facebook. We feel the Web at large can benefit from HipHop, so we are releasing it as open source this evening in hope that it brings a new focus toward scaling large complex websites with PHP. While HipHop has shown us incredible results, it's certainly not complete and you should be comfortable with beta software before trying it out. HipHop for PHP isn't technically a compiler itself. Rather it is a source code transformer. HipHop programmatically transforms your PHP source code into highly optimized C++ and then uses g++ to compile it. HipHop executes the source code in a semantically equivalent manner and sacrifices some rarely used features — such as eval() — in exchange for improved performance. HipHop includes a code transformer, a reimplementation of PHP's runtime system, and a rewrite of many common PHP Extensions to take advantage of these performance optimizations.
Aasemoon =)

untitled - 0 views

  • Andrew Phillips holds the title of Scientist with Microsoft Research Cambridge, and he's working on a method of programming that compiles into DNA. Part of this involves a visual programming language called Stochastic Pi Machine, or SPiM. This system models biological processes to help give researchers feedback on how organisms will react to modifications. The hope is that this can be used to help scientists program for large biological systems using modular components compiled to DNA. Yes, I’m in way over my head here,&nbsp;but I do my best to ask Andrew about the role this will play in medical treatment going forward, what it means to DNA computing, and the ability of back-engineering the genetic code we don’t use now
Aasemoon =)

Coding 4 DNA | LarryLarsen | Channel 9 - 0 views

  • Andrew Phillips holds the title of Scientist with Microsoft Research Cambridge, and he's working on a method of programming that compiles into DNA. Part of this involves a visual programming language called Stochastic Pi Machine, or SPiM. This system models biological processes to help give researchers feedback on how organisms will react to modifications. The hope is that this can be used to help scientists program for large biological systems using modular components compiled to DNA. Yes, I’m in way over my head here,&nbsp;but I do my best to ask Andrew about the role this will play in medical treatment going forward, what it means to DNA computing, and the ability of back-engineering the genetic code we don’t use now.
Aasemoon =)

Array and Collection Initializers in Visual Basic 2010 | Visual Studio Team Interviews ... - 0 views

  • In this interview Spotty Bowles, a tester on the VB Compiler team, shows us a couple of new language features: Array&nbsp;and Collection Initializers. He gives us insight into how they are implemented in the compiler and best practices on how to use them in our code. Additionally, he discusses how to extend Collection Initializers with your own extension methods.
Aasemoon =)

ScalaModules: a DSL for bringing OSGi to Scala | Lambda the Ultimate - 0 views

  • ScalaModules is an open source project aimed at providing fluent support for OSGi to Scala developers. It takes advantage of Scala's infix operator notation, higher order functions, and implicit conversions. ScalaModules transparently uses the Scala compiler to wrap an OSGi BundleContext with its own RichBundleContext model. This general technique is not unusual for creating DSLs in mainstream languages. Sean McDirmid uses similar tricks for his C# Bling library for WPF, except that Bling must overcome the lack of C# offering comparable extensions to Scala.
Aasemoon =)

"VMKit" JVM and .Net runtimes for LLVM - 0 views

  • The VMKit project is an implementation of a JVM and CLI virtual machine (.Net is an implementation of the CLI). It translates Java bytecode and MSIL in the LLVM IR and uses the LLVM framework for optimizations and compilation. For garbage collection, it uses MMTk. You can get and build the source today.
Aasemoon =)

Don Syme's WebLog on F# and Related Topics : F# 2.0 Released - 0 views

  • Today sees the launch of Visual Studio 2010, at five launch events around the world, as announced by Bob Muglia, Jason Zander and S. Somasegar, and presented live today in Las Vegas.&nbsp;&nbsp;&nbsp;Visual Studio 2010 includes the official version 2.0 of the F# language. As is our custom on the F# team, we also release a matching MSI and ZIP of F# 2.0 (for use with Visual Studio 2008&nbsp;and as a standalone compiler&nbsp;on a range of platforms) &nbsp; Today represents the culmination of 7 years of work on the language at Microsoft Research, and, more recently, the Microsoft Developer Division. I am immensely proud of what we’ve achieved. F# brings a productive functional and object-oriented programming language to .NET, extending the platform to new audiences in technical, algorithmic, data-rich, parallel and explorative domains, and its inclusion in Visual Studio 2010 represents a huge milestone for the language. &nbsp; To help understand what we’re doing with F#, I’ve listed some of the common questions people have about the language below.&nbsp; We thank everyone who has been involved in the production of F#, especially the many users who have given us feedback on the language!
Aasemoon =)

Data Representation Synthesis | Lambda the Ultimate - 0 views

  • We consider the problem of specifying combinations of data structures with complex sharing in a manner that is both declarative and results in provably correct code. In our approach, abstract data types are specified using relational algebra and functional dependencies. We describe a language of decompositions that permit the user to specify different concrete representations for relations, and show that operations on concrete representations soundly implement their relational specification. It is easy to incorporate data representations synthesized by our compiler into existing systems, leading to code that is simpler, correct by construction, and comparable in performance to the code it replaces.
1 - 14 of 14
Showing 20 items per page