SAVE - embed saves in other saves

  • rdococ
    17th Nov 2015 Member 0 Permalink

    Typed out on a Kindle Paperwhite, so it will be short.

     

    The SAVE particle would be used to embed a save in a save - stuff that enters the particle enters the embedded save and stuff that exits the embedded save exits the particle.

     

    For example, you could build a purifying machine to get pure water out from salty water, then embed it in a beach to extract pure water and salt from the sea.

  • Emperor_Bowserinator
    17th Nov 2015 Member 0 Permalink
    That would require running 2 saves at once... how would that work?
  • wolfy1339
    18th Nov 2015 Member 0 Permalink
    Can't you use stamps to accomplish the same function as you described in your example?
  • rdococ
    18th Nov 2015 Member 0 Permalink

    @Emporer_Bowserinator I actually thought of this but never bothered to type about it. Perhaps it could be optimized.

     

    @Wolfy1339 Not exactly. Stamps require room around them to function while SAVE particles are only one particle in size.

  • MiningMarsh
    18th Nov 2015 Member 0 Permalink

    Unfortunately this would be too slow to even consider doing. We have discussed similar things in the IRC before, but it would be completely infeasible.

  • Catelite
    20th Nov 2015 Former Staff 3 Permalink
    ..Being too slow wouldn't even be a problem. Good luck finding someone who wants to run redundant recursive simulations of TPT inside of one another.
  • 12Me21
    23rd Nov 2015 Member 0 Permalink

    This could be possible...

    -to use SAVE, you would open 2 TPT's

    -When a particle enters SAVE, it would be recorded in powder.pref (or another file).

    -Every frame (or every few frames), the other TPT will check powder.pref to see if anything has gone into SAVE. If something has, it will release that particle.

     

    Basically, SAVE would act like WIFI (one particle for in/out), but able to transfer particles between saves.

     


    I don't think this would work in the official game, but maybe as a mod...

    Edited once by 12Me21. Last: 23rd Nov 2015
  • Emperor_Bowserinator
    23rd Nov 2015 Member 0 Permalink
    @12Me21 (View Post) You make it sound easy, but then you'd have to add codes for which window is running and stuff, plus if you have lots of SAVE particles it would lag like hell, keeping track of all the channels and stuff.
  • nucular
    24th Nov 2015 Member 0 Permalink
    @12Me21 (View Post)
    That's not how parallel programs works, at all. Using the file system as the means to inter-process communication is a really, really bad idea. Deadlocks (two processes can't read and write a physical file simultaneously), slow as tits and kills SSDs.