HTTP/1.1 -1 Read error in cache disk data: SuccessContent-Type: text/plain; charset="utf-8" Last-Modified: Sat, 22 Jan 2022 07:17:15 GMT Content-length: 2645 Connection: Close Proxy-Connection: Close X-Cache: HIT from web1.osuosl.org Server: ProxyTrack 0.5 (HTTrack 3.49.2) = Parrot Deprecations for 3.0 = == .nci_call and .meth_call PIR special forms == Specifying the type of call being performed is no longer required thanks to the magic of virtual dispatch. === Rationale === They're old, crufty, and don't do anything that cannot be acheived by .call. Except obfuscasion of course. === Replacement === Use .call. It should be a simple text replacement fix. == Indirect Register Access Ops == Opcodes that access registers that are not their direct arguments are deprecated. Note, however, that direct arguments does include keys and pcc ops. Ops that are known to have this behaviour are clear{i,n,s,p} and set{i,n,s,p}_ind. These have been removed. No other core ops are known to have this behaviour. If you've created a dynop that has this behaviour, it and code using it is subject to breakage without notice (we reserve the right to implement optimizers). === Rationale === They don't fit well with the level of the rest of parrot's opcodes. They make register lifetime analysis impossible, preventing many optimizations. === Replacement === If you really are using this, rethink your code. Stop using the register frame as an aggregate. Use an object aggregate in stead. == Exchange Op == === Description === The exchange ops are deprecated. === Rationale === They operate at too low a level to be useful as parrot ops. === Replacement === You aren't using this. Seriously? {{{ .macro xchg_int(a, b) $I0 = .a .a = .b .b = $I0 .endm }}} == PIR string literals with charset and encoding are deprecated == === Description === PIR string literals of the form {{{ encoding:charset:"string" }}} are deprecated. === Rationale === After the charset/encoding merge, they're unneeded. === Replacement === They can be replaced with {{{ encoding:"string" }}} The encoding should be one of the new unified encodings. == Remaining string_* functions are deprecated == === Description === The string_* functions have been deprecated for a while. The remaining functions are: {{{ string_make string_ord string_chr string_to_cstring_nullable string_max_bytes string_increment }}} === Rationale === They're old cruft. === Replacement === string_make should be replaced with Parrot_str_new_init. You can use Parrot_find_encoding to get an encoding from a cstring. Replace string_ord with Parrot_str_indexed. Replace string_chr with Parrot_str_chr. Replace string_to_cstring_nullable with Parrot_str_to_cstring. string_max_bytes and string_increment will be removed. ttp://trac.parrot.org/parrot/ticket/129#comment:3 <ul>