Julia 1.11.4internals of a program and its types just like any other data. Warning Metaprogramming is a powerful tool, but it introduces complexity that can make code more difficult to understand. For example, it can quoted return expression using the function macroexpand (important note: this is an extremely useful tool for debugging macros): julia> ex = macroexpand(Main, :(@sayhello("human")) ) :(Main.println("Hello end bad_read2(a) # it is NOT safe to access `a` here Using locks to avoid data-races An important tool to avoid data-races, and thereby write thread-safe code, is the concept of a "lock". A lock can be0 码力 | 2007 页 | 6.73 MB | 4 月前3
Julia 1.11.5 Documentationinternals of a program and its types just like any other data. Warning Metaprogramming is a powerful tool, but it introduces complexity that can make code more difficult to understand. For example, it can quoted return expression using the function macroexpand (important note: this is an extremely useful tool for debugging macros): julia> ex = macroexpand(Main, :(@sayhello("human")) ) :(Main.println("Hello end bad_read2(a) # it is NOT safe to access `a` here Using locks to avoid data-races An important tool to avoid data-races, and thereby write thread-safe code, is the concept of a "lock". A lock can be0 码力 | 2007 页 | 6.73 MB | 4 月前3
Julia 1.11.6 Release Notesinternals of a program and its types just like any other data. Warning Metaprogramming is a powerful tool, but it introduces complexity that can make code more difficult to understand. For example, it can quoted return expression using the function macroexpand (important note: this is an extremely useful tool for debugging macros): julia> ex = macroexpand(Main, :(@sayhello("human")) ) :(Main.println("Hello end bad_read2(a) # it is NOT safe to access `a` here Using locks to avoid data-races An important tool to avoid data-races, and thereby write thread-safe code, is the concept of a "lock". A lock can be0 码力 | 2007 页 | 6.73 MB | 4 月前3
Julia 1.12.0 RC1internals of a program and its types just like any other data. Warning Metaprogramming is a powerful tool, but it introduces complexity that can make code more difficult to understand. For example, it can quoted return expression using the function macroexpand (important note: this is an extremely useful tool for debugging macros): julia> ex = macroexpand(Main, :(@sayhello("human")) ) :(Main.println("Hello end bad_read2(a) # it is NOT safe to access `a` here Using locks to avoid data-races An important tool to avoid data-races, and thereby write thread-safe code, is the concept of a "lock". A lock can be0 码力 | 2057 页 | 7.44 MB | 4 月前3
Julia 1.12.0 Beta4internals of a program and its types just like any other data. Warning Metaprogramming is a powerful tool, but it introduces complexity that can make code more difficult to understand. For example, it can quoted return expression using the function macroexpand (important note: this is an extremely useful tool for debugging macros): julia> ex = macroexpand(Main, :(@sayhello("human")) ) :(Main.println("Hello end bad_read2(a) # it is NOT safe to access `a` here Using locks to avoid data-races An important tool to avoid data-races, and thereby write thread-safe code, is the concept of a "lock". A lock can be0 码力 | 2057 页 | 7.44 MB | 4 月前3
Julia 1.12.0 Beta3internals of a program and its types just like any other data. Warning Metaprogramming is a powerful tool, but it introduces complexity that can make code more difficult to understand. For example, it can quoted return expression using the function macroexpand (important note: this is an extremely useful tool for debugging macros): julia> ex = macroexpand(Main, :(@sayhello("human")) ) :(Main.println("Hello end bad_read2(a) # it is NOT safe to access `a` here Using locks to avoid data-races An important tool to avoid data-races, and thereby write thread-safe code, is the concept of a "lock". A lock can be0 码力 | 2057 页 | 7.44 MB | 4 月前3
julia 1.12.0 beta1internals of a program and its types just like any other data. Warning Metaprogramming is a powerful tool, but it introduces complexity that can make code more difficult to understand. For example, it can quoted return expression using the function macroexpand (important note: this is an extremely useful tool for debugging macros): julia> ex = macroexpand(Main, :(@sayhello("human")) ) :(Main.println("Hello end bad_read2(a) # it is NOT safe to access `a` here Using locks to avoid data-races An important tool to avoid data-races, and thereby write thread-safe code, is the concept of a "lock". A lock can be0 码力 | 2047 页 | 7.41 MB | 4 月前3
julia 1.13.0 DEVinternals of a program and its types just like any other data. Warning Metaprogramming is a powerful tool, but it introduces complexity that can make code more difficult to understand. For example, it can quoted return expression using the function macroexpand (important note: this is an extremely useful tool for debugging macros): julia> ex = macroexpand(Main, :(@sayhello("human")) ) :(Main.println("Hello end bad_read2(a) # it is NOT safe to access `a` here Using locks to avoid data-races An important tool to avoid data-races, and thereby write thread-safe code, is the concept of a "lock". A lock can be0 码力 | 2058 页 | 7.45 MB | 4 月前3
Julia 1.11.2 Documentationinternals of a program and its types just like any other data. Warning Metaprogramming is a powerful tool, but it introduces complexity that can make code more difficult to understand. For example, it can quoted return expression using the function macroexpand (important note: this is an extremely useful tool for debugging macros): julia> ex = macroexpand(Main, :(@sayhello("human")) ) :(Main.println("Hello end bad_read2(a) # it is NOT safe to access `a` here Using locks to avoid data-races An important tool to avoid data-races, and thereby write thread-safe code, is the concept of a "lock". A lock can be0 码力 | 2007 页 | 6.73 MB | 11 月前3
Julia 1.11.1 Documentationinternals of a program and its types just like any other data. Warning Metaprogramming is a powerful tool, but it introduces complexity that can make code more difficult to understand. For example, it can quoted return expression using the function macroexpand (important note: this is an extremely useful tool for debugging macros): julia> ex = macroexpand(Main, :(@sayhello("human")) ) :(Main.println("Hello end bad_read2(a) # it is NOT safe to access `a` here Using locks to avoid data-races An important tool to avoid data-races, and thereby write thread-safe code, is the concept of a "lock". A lock can be0 码力 | 1989 页 | 6.68 MB | 11 月前3
共 87 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9













