Skip to content

Conversation

@lukemaurer
Copy link

Issue #, if available:

Description of changes:

Dafny has a PR (dafny-lang/dafny#472) to get Java code to use unboxed primitive types for a 3x-4x speedup by our benchmark, bringing Java performance in line with C#. It's a breaking change for externs, however, so this PR makes the corresponding changes.

This probably shouldn't be merged until the Dafny PR is.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Luke Maurer added 3 commits December 19, 2019 11:09
This essentially boxes a byte[] in one big box rather than an array
of (potentially millions of) UByte boxes.
Dafny no longer uses Byte (or UByte) in generated Java code.
@lavaleri
Copy link
Contributor

AWS CodeBuild CI Report

  • CodeBuild project: DafnyESDK
  • Commit ID: ad457bb
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

An array of generic type is now represented as a java.lang.Object
rather than a dafny.Array.
@lavaleri
Copy link
Contributor

AWS CodeBuild CI Report

  • CodeBuild project: DafnyESDK
  • Commit ID: 6be4770
  • Result: FAILED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@lukemaurer
Copy link
Author

AWS CodeBuild CI Report

* CodeBuild project: DafnyESDK

* Commit ID: [6be4770](https://github.com/awslabs/aws-encryption-sdk-dafny/commit/6be47707855f57e04996fdbad0e418f953c52da9)

* Result: FAILED

* [Build Logs](https://3tj3jv5ckl.execute-api.us-west-2.amazonaws.com/Prod/buildlogs?key=6412cb08-f8b8-4ee2-b672-883a2667d92d%2Fbuild.log) (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

This is the good old “can't find Mono” problem. Not sure what to do about it in CI, since the solution on my machine was IIRC to clean up output directories and/or re-restore.

@robin-aws
Copy link
Contributor

Going ahead with merging this to bring the java branch closer to working, since dafny-lang/dafny#472 is merged now.

@robin-aws robin-aws merged commit 9a61a03 into java May 23, 2020
@farleyb-amazon farleyb-amazon deleted the java-new-dafny branch May 7, 2022 04:00
josecorella pushed a commit to josecorella/aws-encryption-sdk-dafny that referenced this pull request Oct 11, 2023
* feat: add comparison operations

* m

* move

* m
josecorella pushed a commit that referenced this pull request Oct 11, 2023
* feat: add comparison operations

* m

* move

* m
josecorella pushed a commit that referenced this pull request Oct 11, 2023
* feat: add comparison operations

* m

* move

* m
josecorella pushed a commit that referenced this pull request Oct 11, 2023
* feat: add comparison operations

* m

* move

* m
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants