Author Topic: New fluffos repo containing the 2.28 version.  (Read 472 times)

Offline silenus

  • BFF
  • ***
  • Posts: 196
    • View Profile
New fluffos repo containing the 2.28 version.
« on: May 21, 2019, 06:24:26 AM »
Wodan was kind enough to release a new version of the FluffOS 2 series, 2.28. I have placed this code including some modifications in the repo-

https://github.com/cartercheng/fluffos-2.x

The modifications are mainly some simple fixes to get it to compile under Ubuntu due to some changes in the header files and migration to the gcc C++ compiler mode in the Makefile. I will be gradually doing some cleaning up to get some unit testing into the driver. I made some changes last week which indicate the direction in which this is going.


Offline Dworkin

  • Acquaintance
  • *
  • Posts: 31
    • View Profile
Re: New fluffos repo containing the 2.28 version.
« Reply #1 on: August 17, 2019, 08:33:08 AM »
I noticed that you started an issue for JIT compilation, where you consider the option to compile to LLVM IR directly.

Another option would be to do both, preserving lightning-fast LPC compilation. For JIT compilation for DGD, I chose to compile from VM bytecode to LLVM IR in multiple passes; detecting basic blocks, determining the types of expressions, doing dataflow analysis, and finally generating LLVM IR which can be compiled with clang. I have this mostly working (mud boots and I can walk around), but there are a few bugs to iron out.

You can find the code at https://github.com/dworkin/lpc-ext/tree/master/jit.  It could probably be adopted for FluffOS without too much difficulty.

Offline silenus

  • BFF
  • ***
  • Posts: 196
    • View Profile
Re: New fluffos repo containing the 2.28 version.
« Reply #2 on: September 10, 2019, 05:22:42 AM »
This repository has been moved to-

https://github.com/silenus-dionysus/fluffos-2.x

I am in the process of some minor clean up and converting the code over to C++. There are other things in the issues section pertaining to future plans.

Offline silenus

  • BFF
  • ***
  • Posts: 196
    • View Profile
Re: New fluffos repo containing the 2.28 version.
« Reply #3 on: September 10, 2019, 05:27:34 AM »
Dworkin, It is nice to know someone has finally decided to bite the bullet and do implementation work using the LLVM system for creating a JIT for LPC.

I might do something similar for fluffos in the future though i think my design differs somewhat from yours(but thanks for the heads up).

My particular repository is more of a slow burn project since I feel and a lot of the current i3 members have reflected that the community is no longer what it was and thus there isn't really too much interest people doing development of this sort at present. I am in fact not sure if any of the current muds which still have some players will actually use what I do.

Offline Dworkin

  • Acquaintance
  • *
  • Posts: 31
    • View Profile
Re: New fluffos repo containing the 2.28 version.
« Reply #4 on: September 10, 2019, 10:41:15 AM »
Silenus, I started working on the JIT compiler a long time ago, but didn't have time to complete it until recently.  I only decided to make use of LLVM a few months ago, before that I was still considering decompiling to C, instead.  I made the first point release of the JIT compiler just now.

The situation for DGD is similar to FluffOS, the community has shrunk and those who still use it are doing their own thing.  As a MUD server engine, DGD was probably feature-complete around 2002, and there is not a lot of interest in new releases.  And to top it off, I spend most of my free time on Hydra now, which is not yet used by anyone at all.  ;D