DEV Community

ringabout
ringabout

Posted on

1 1 1 1 1

Contribute to the Python-like Nim language

Progress

chores

fixes changelog

fixes booting warnings

create type bound operations for calls in the method dispatcher for ORC

fixes #21592; create type bound operations for calls in the method dispatcher for ORC

import std/options

type Event* = object
  code*: string

type App* = ref object of RootObj
  id*: string

method process*(self: App): Option[Event] {.base.} =
  raise Exception.new_exception("not impl")
Enter fullscreen mode Exit fullscreen mode

It now works.

Write an RFC for adding compiler support for object construction shorthand

compiler support for object construction shorthand

[PR] disable BareExcept warning in panics:on mode

disable BareExcept warning in panics:on mode

try:
  raise newException(CatchableError, "catched")
except:
  discard
Enter fullscreen mode Exit fullscreen mode

With --panics:on, the compiler does not give BareExcept warnings.

[PR] warn on overloaded =copy with refc

fixes #20846; fixes #21427; warn on overloaded =copy with refc

[PR] implement =dup hook eliminating wasMoved and =copy pairs

implement =dup hook eliminating wasMoved and =copy pairs

proc `=dup`(s: ref): ref =
  dest[] = src
  if src != nil: nimIncRef src
Enter fullscreen mode Exit fullscreen mode

The =dup hook is for optimization. The compiler sometimes generates =wasMoved(x); =copy(x, y). But =wasMoved is unnecessary in this case since it is going to be rewritten for sure. It should be replaced by x = =dup(y) instead.

Weekly collection

https://forum.nim-lang.org/t/9908 (2/19)

https://forum.nim-lang.org/t/9940 (2/26)

https://forum.nim-lang.org/t/9970 (3/5)

https://forum.nim-lang.org/t/9989 (3/12)

https://forum.nim-lang.org/t/10024 (3/19)

https://forum.nim-lang.org/t/10040 (3/26)

Participating in contributions

Following The Roadmap 2023 for community building , you could join us in the matrix space where we discuss how to build a community. We appreciate doable suggestions and helps, such as improving the workflow, implementing the roadmap, suggesting doable tasks, reviewing code from contributors. United we stand. We shall work together to make the community thrive.

Sponsorship

Many thanks to Yepoleb, lenis0012, pietroppeter, Clonkk, mode80, Phil, CxPlanner, shirleyquirk, elcritch, geotre, thinkwelltwd, xrfez, enthus1ast, piertoni, Dnanilem, gemath for sponsoring me on GitHub.

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay