Ahhhhh! As usual in these threads, the production processes of sand-casting, investment casting (also called the lost wax method), die-casting (injecting molten metal into a permanent mold, usually steel), and MIM (Metal Injection Molding, also called powder metal in the past) are being confused and abused!
There are currently receivers and frames on the market that are forged, billet machined, investment cast, die-cast, and maybe even sand cast (though I doubt it). And some slides are bent up of sheet metal and welded. And they all seem to work.
Engineers take into consideration the geometry, material requirements, tolerances, and finish requirements when designing something. Casting processes give you a lot more design flexibility, a near-net shape, smoother out-of-mold finish, and can be produced in higher volumes at lower cost. MIM parts can be cast of alloy or stainless steeles, non-ferrous materials like titanium, or even combinations (including lubricants). Right now, it's mostly used on fairly small parts but can make parts up to 1/2 lb or so.
There are two types of EDM - plunge, and wire. Plunge EDM sinks an electrode into a part, and usually makes some sort of complex, blind hole. Wire EDM machines can have five axis control, but the cut surface is always a straight line. The production rate is pretty low, but the rate doesn't vary as much for hardened metals as machining, and there is little waste.
Some "plastic" materials have amazing properties as well, have much better lubricity and either don't require lubrication or can have it molded in . A well-engineered gun with MIM, investment cast, and plastic parts might function much better than one made strictly from forgings and machined parts.
Buy a gun that is proven reliable for your intended purpose, and fits your hand and budget. Be flexible on the production processes used, and you will get a better value. Get modern!