eiffelroom

Tutorial

article

Eiffel exceptions

A common question asked about Eiffel, especially those coming from Java or C# backgrounds is, where's my try...catch...finally block?

article

Integrating Eiffel with COM

Integrating Eiffel in to a COM environment is remarkably easy as the tools that handle the majority of the heavy lifting related to COM development already exist. Programming dynamically with COM is very different than programming statically with Eiffel so I've included common pitfall concept translations for these instances.

article

Getting Started with Db4o for Eiffel

This page provides a step-by-step guide, showing you how to use db4o databases within Eiffel for .NET applications.

Step 1: Download Db4o Assembly

article

How to save a Jpg file with quality option

The result

First let's see the results of images in different quality levels. The highest quality is 100, the lowest quality is 0.

Original image: Goleta_Flower_orignal

Quality 100 image: (Maybe because the image is too big, 2.6mb, we can't upload it now. Sorry.) Goleta_Flower_with_quality_100

Quality 75 image: Goleta_Flower_with_quality_75

article

Protecting objects

Having looked at code for interfacing Eiffel to C and creating callbacks from C to Eiffel, I frequently found that things were not done properly, resulting in potential memory corruption or crashes.

article

EiffelVision 2 HowTo's

How do I set the size of an EV_PIXMAP?

article

Using externals in multithreaded applications

Using a C/C++ external in an Eiffel system is pretty easy. Simply do a C/C++ inline and provide the arguments to the C/C++ externals.

When transforming the same system into a multithreaded application one has to pay attention to something else: C/C++ externals that may take a long time to execute.

Using blocking qualifier

article

Creating a web application with Goanna

This is a short tutorial for building web applications with Goanna

It covers the following topics

  • Installing all the software you need
  • Getting to know Goanna
  • A short description on how to develop a web application with Goanna

How it all works

Goanna offers many different services and layers of abstraction.

article

Fun with Generics

Intro

We all know about generics as a wonderful help to implement container data structures like lists, sets, bags etc. Much later than Eiffel, object-oriented programming languages like Java and C# have understood that generic parameters are a powerful extension to the type system and remove the need for many casts. So, what else can we do with generics beyond containers?

article

Eiffel compilation and tuning execution speed

Introduction

For a beginner the different compilation modes of EiffelStudio can be confusing and I've heard people mention that they don't want to use Eiffel because it's runtime execution is considered too slow. The fact of the matter is, it is not slow! It is only slow when using all or the most aggressive contracts in "workbench" mode, which is by no means the result of an optimized final compilation. Such aggressive checking is sometimes what is needed when developing a new project, and sometime you can throttle back on such aggression. This article explains the various compilation modes and their pros and cons. The results will demonstrate that Eiffel is just as fast as C or C++.
Syndicate content
about - contact